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:
  • field (str) – The field to parse into sentences.

  • target_field (Optional[str], default: None) – The field in which to store the extracted sentence candidates.

  • spacy_span_kwargs (Any) – kwargs to pass to the spaCy model.