ben-aaron188 / netanos

NETANOS: Named entity-based Text Anonymization for Open Science'
https://www.npmjs.com/package/netanos
MIT License
10 stars 5 forks source link

Use `.` instead of `$scriptDir` in Java process #6

Closed RichardLitt closed 7 years ago

RichardLitt commented 7 years ago

In the README, you suggest using $scriptDir as a variable for where the stanford NER parser was downloaded. However, I found it easier to just cd into that directory, and run this:

java -mx1000m -cp "./stanford-ner.jar:./lib/*" edu.stanford.nlp.ie.NERServer  -loadClassifier ./classifiers/english.muc.7class.distsim.crf.ser.gz -port 8080 -outputFormat inlineXML

I think using . is a bit cleaner and easier. Just an idea, this isn't a mandatory change for https://github.com/openjournals/joss-reviews/issues/293.

ben-aaron188 commented 7 years ago

Done