Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
XML-RPC version of the Stanford POS tagger
Python
Tree: d39b85021f

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.hgignore
README
client.py
tagger_server.jar

README

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
------------------------
- Change to directory "stanford-postagger-full-2010-05-26"
- Type at command prompt:
    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]

e.g:
    python client.py stanford-postagger-full-2010-05-26/sample-input.txt 8080
Something went wrong with that request. Please try again.