spaCy as a service using Thrift
Download spaCy's parser model for English:
python3 -m spacy download en
Run the service:
python3 -m spacyThrift.service
Pass the --ner
option to perform named-entity recognition.
The Thrift code can be updated using:
make generate
If a new version of Thrift is used, also ensure the version is specified in requirements.txt