spaCy is great as a preprocessor for NLP labeling functions, but there are other libraries that individuals may want to use.
Ideally, we'd like to have wrappers for other packages as well, such as Stanford CoreNLP (https://stanfordnlp.github.io/stanfordnlp/) and NLTK (https://www.nltk.org/). We can pattern match on the SpacyPreprocessor. Then ultimately, give the nlp_labeling_function decorator a keyword argument where the user can specify which preprocessor to use.
spaCy is great as a preprocessor for NLP labeling functions, but there are other libraries that individuals may want to use.
Ideally, we'd like to have wrappers for other packages as well, such as Stanford CoreNLP (https://stanfordnlp.github.io/stanfordnlp/) and NLTK (https://www.nltk.org/). We can pattern match on the SpacyPreprocessor. Then ultimately, give the
nlp_labeling_functiondecorator a keyword argument where the user can specify which preprocessor to use.