dasmith / stanford-corenlp-python

Python wrapper for Stanford CoreNLP tools v3.4.1
GNU General Public License v2.0
610 stars 229 forks source link

added setup.py and made library available regardless of current working directory #18

Open arne-cl opened 9 years ago

arne-cl commented 9 years ago

Hi Dustin,

I added a basic setup.py to install stanford-corenlp-python system-wide. I also made the java-related paths relative to the installation directory, so that a user can do import corenlp without needing to be in the stanford-corenlp-python download/install directory.

Best, Arne

arne-cl commented 9 years ago

Hi Dustin,

the CoreNLP result string is already utf-8 encoded, so we don't need to encode it again.

Cheers, Arne

lendormi commented 9 years ago

+1