spacy-thrift

spaCy-as-a-service using Thrift


Keywords
natural, language, processing, nlp, part-of-speech, part-of-speech-tagger, pos, python, service, spacy, thrift
License
MIT
Install
pip install spacy-thrift==0.5.0

Documentation

spacy-thrift

spaCy as a service using Thrift

Usage

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.

Development

  • 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