Skip to content

turbolent/spacy-thrift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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