Skip to main content
Version: 0.95

operators.spacy.SentenceFeaturizer

class operators.spacy.SentenceFeaturizer(field, target_field=None, **spacy_span_kwargs)

A Featurizer that yields all sentences according to spaCy.

Used by the Seq Tagging application template as one of the base candidate generators for producing embeddings from.

Parameters

NameTypeDefaultInfo
fieldstrThe field to parse into sentences.
target_fieldOptional[str]NoneThe field in which to store the extracted sentence candidates.
spacy_span_kwargsAnykwargs to pass to the spaCy model.