Git Product home page Git Product logo

netanos's People

Contributors

arfon avatar ben-aaron188 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

netanos's Issues

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

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 openjournals/joss-reviews#293.

Add tests

These should be relatively easy to set up, as the API is not complicated. Adding one for each of the main methods would be fantastic, and then making them runnable through an npm script.

Related to openjournals/joss-reviews#283 (comment).

Could not find or load main class edu.stanford.nlp.ie.NERServer

I am trying to setup netanos on my local machine but after putting the below command as mentioned in the documentation

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 am getting this error

Could not find or load main class edu.stanford.nlp.ie.NERServer

I am using windows 10 and have java version "1.8.0_301" installed.

Can anyone help me in resolving this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.