Lynten / stanford-corenlp

Python wrapper for Stanford CoreNLP.
MIT License
919 stars 200 forks source link

Support for custom annotators? #68

Open craaaa opened 5 years ago

craaaa commented 5 years ago

I'm looking to integrate a custom annotator into my annotation pipeline, for instance in the code below. Is that possible at the moment with the wrapper?

e.g.

props = {'annotators': 'tokenize, ner, custom_annotator'}
nlp.annotate(text, properties=props)