Skip to main content
Version: 25.1

operators.spacy.NounChunkFeaturizer

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

A Featurizer that yields all noun phrases 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 noun chunks.

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

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