You need python version >=3.6
Run sh install.sh
to download language models and required python packages.
This space necessary is approximately 2 gb.
Start with python app.py
There are three endpoint:
/all
- Gets all wordsnouns
,verbs
,enteties
/nouns
- Gets allnouns
/verbs
- Gets allverbs
/enteties
- Gets allenteties
Type of word that gets returned
NOUN
, VERB
, LOC
(location), PRS
(person) ORG
(organization)
You can test and see that it all works by running python test.py