Skip to content

Commit c3e07bf

Browse files
committed
Removed unidecode dependency. Added documentation about corenlp_path parameter
1 parent 5fc37fa commit c3e07bf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is a Python wrapper for Stanford University's NLP group's Java-based [CoreN
88
* Outputs parse trees which can be used by [nltk](http://nltk.googlecode.com/svn/trunk/doc/howto/tree.html).
99

1010

11-
It requires [pexpect](http://www.noah.org/wiki/pexpect) and [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/).
11+
It depends on [pexpect](http://www.noah.org/wiki/pexpect) and includes and uses code from [jsonrpc](http://www.simple-is-better.org/rpc/) and [python-progressbar](http://code.google.com/p/python-progressbar/).
1212

1313
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 3.4.1** released 2014-08-27.
1414

corenlp.py

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import os, re, sys, time, traceback
2424
import jsonrpc, pexpect
2525
from progressbar import ProgressBar, Fraction
26-
from unidecode import unidecode
2726
import logging
2827

2928

0 commit comments

Comments
 (0)