Permalink
Browse files

Changed up documentation

  • Loading branch information...
1 parent df43a3d commit d39b85021febcc75a9a4260caef52685c9ac7e02 @turian committed Aug 24, 2010
Showing with 15 additions and 16 deletions.
  1. +3 −0 .hgignore
  2. +12 −16 README
View
@@ -0,0 +1,3 @@
+syntax: glob
+stanford-postagger-full-2010-05-26
+xmlrpc-1.2-b1.jar
View
28 README
@@ -1,28 +1,24 @@
-wget 'http://nlp.stanford.edu/software/stanford-postagger-full-2010-05-26.tgz'
+Getting started
+---------------
+ wget http://ftp.us.xemacs.org/pub/mirrors/maven2/xmlrpc/xmlrpc/1.2-b1/xmlrpc-1.2-b1.jar
+ wget http://nlp.stanford.edu/software/stanford-postagger-full-2010-05-26.tgz
+ tar zxvf stanford-postagger-full-2010-05-26.tgz
Here you have:
1. a jar archive including the Stanford Postagger XML-RPC service
2. a python client to test the service
-
-How to start the service:
------------------------------
-- Copy the tagger_server.jar into "stanford-postagger-full-2010-05-26"
+How to start the service
+------------------------
- Change to directory "stanford-postagger-full-2010-05-26"
- Type at command prompt:
- java -classpath /path/to/xmlrpc-1.2-b1.jar;tagger_server.jar;stanford-postagger-2010-05-26.jar edu.stanford.main.MaxentTaggerServer <modelFile> [port]
-
-e.g.
-java -classpath /path/to/xmlrpc-1.2-b1.jar;tagger_server.jar;
-stanford-postagger-2010-05-26.jar edu.stanford.main.MaxentTaggerServer models\left3words-distsim-wsj-0-18.tagger 8050
-
-
-
-Here is the python client, in client.py
+ java -cp ../xmlrpc-1.2-b1.jar:../tagger_server.jar:stanford-postagger-2010-05-26.jar edu.stanford.main.MaxentTaggerServer models/left3words-distsim-wsj-0-18.tagger 8080
+How to run the client
+------------------------
Invoke at command prompt:
-python client.py <inputFile> [port]
+ python client.py <inputFile> [port]
e.g:
-python client.py /stanford-postagger-full-2010-05-26/sample-input.txt 8050
+ python client.py stanford-postagger-full-2010-05-26/sample-input.txt 8080

0 comments on commit d39b850

Please sign in to comment.