USCDataScience / NLTKRest

This is a REST Server endpoint built using Flask and Python.
Apache License 2.0
24 stars 13 forks source link

Finish off initial version of NLTK REST server. #6

Closed chrismattmann closed 8 years ago

chrismattmann commented 8 years ago

@manalishah this cleans up and wraps up the nltkrest-examples Java package. To build it, do mvn install, then to run it, do:

java -jar target/nltkrest-examples-1.0-SNAPSHOT.jar "This is Chris Mattmann. I live in Los Angeles, California."

Which should return:

Performing NLTK analysis on text: This is Chris Mattmann. I live in Los Angeles, California. 
Connecting to NLTKRest at: [http://localhost:8881/nltk]
{
    "names": [
        "Chris Mattmann",
        "Los Angeles",
        "California"
    ],
    "result": "success"
}