Skip to content

loyddetroz/Wellness_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VirtualEnv

Installation

$ virtualenv API
$ source API/bin/activate
(API)$ pip install -r path/to/requirements.txt
(API)$ python api.py

CoreNLP

Download:http://nlp.stanford.edu/software/stanford-corenlp-latest.zip

Download: http://nlp.stanford.edu/software/stanford-corenlp-4.2.0-models-english.jar

Installation

$ mv /path/to/stanford-corenlp-4.2.0-models-english.jar /path/to/stanford-corenlp-4.2.0
$ export CLASSPATH=$CLASSPATH:/path/to/stanford-corenlp-4.2.0/*:

Running the API

Run the CoreNLP Server first:

$ java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 15000

Then run the python file using the virtual environment:

$ python api.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published