- Python 3.x
pip install -U nltk
python
-
import nltk nltk.download()
- Choose whichever Corpora.
pip install -U spacy
- On Windows ensure you have Visual Studio C++ Build Tools 2015 installed from http://landinghub.visualstudio.com/visual-cpp-build-tools
- Download english language model
python -m spacy download en
- Download and install from https://neo4j.com/download/?ref=hro
- Start the service
pip install -U flask
- UNIX
export FLASK_APP=src/app.py
- WINDOWS
set FLASK_APP=src/app.py
Flask run
- Add the lines below to the app.py file
for sent in brown.sents():
NLP().find_useful_stuff(re.sub(r'[^\w]', ' ', ' '.join(sent)))