8000 updated readme · apercis/stanford-corenlp-python@cdf70c7 · GitHub
[go: up one dir, main page]

Skip to content

Commit cdf70c7

Browse files
committed
updated readme
1 parent 8bbe6d1 commit cdf70c7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ This is a Python wrapper for Stanford University's NLP group's Java-based [CoreN
1010

1111
It requires [pexpect](http://www.noah.org/wiki/pexpect) and (optionally) [unidecode](http://pypi.python.org/pypi/Unidecode) to handle non-ASCII text. This script includes and uses code from [jsonrpc](http://www.simple-is-better.org/rpc/) and [python-progressbar](http://code.google.com/p/python-progressbar/).
1212

13-
This is a simple script I created after having problems using other Python wrappers to Stanford's dependency parser.
14-
First the JPypes approach used in [stanford-parser-python](http://projects.csail.mit.edu/spatial/Stanford_Parser) had trouble initializing a JVM on two separate computers. Next, I discovered I could not use a
15-
[Jython solution](http://blog.gnucom.cc/2010/using-the-stanford-parser-with-jython/) because the Python modules I needed did not work in Jython.
16-
1713
It runs the Stanford CoreNLP jar in a separate process, communicates with the java process using its command-line interface, and makes assumptions about the output of the parser in order to parse it into a Python dict object and transfer it using JSON. The parser will break if the output changes significantly, but it has been tested on **Core NLP tools version 1.3.1** released 2012-04-09.
1814

1915
## Download and Usage
@@ -24,7 +20,7 @@ In other words:
2420

2521
sudo pip install pexpect unidecode # unidecode is optional
2622
git clone git://github.com/dasmith/stanford-corenlp-python.git
27-
cd stanford-corenlp-python.git
23+
cd stanford-corenlp-python
2824
wget http://nlp.stanford.edu/software/stanford-corenlp-2012-04-09.tgz
2925
tar xvfz stanford-corenlp-2012-04-09.tgz
3026

@@ -142,3 +138,10 @@ This is free and open source software and has benefited from the contribution an
142138
* Justin Cheng jcccf@221513ecf322dc32d6e088fb2f68751e45bac226
143139
* Abhaya Agarwal 8ed7640388cac8ba6d897739f5c8fe24eb87cc48
144140

141+
## Similar Projects
142+
143+
These two projects are python wrappers for the [Stanford Parser](http://nlp.stanford.edu/software/lex-parser.shtml), different than "core NLP tools":
144+
145+
- [stanford-parser-python](http://projects.csail.mit.edu/spatial/Stanford_Parser) uses [JPype](http://jpype.sourceforge.net/) (interface to JVM)
146+
- [stanford-parser-jython](http://blog.gnucom.cc/2010/using-the-stanford-parser-with-jython/) uses Python
147+

0 commit comments

Comments
 (0)
0