segram.nlp.backend.rulebased.lang.en.pipeline.lemmatizer package

English lemmatizer module and patterns data.

class segram.nlp.backend.rulebased.lang.en.pipeline.lemmatizer.EnglishLemmatizer(vocab: ~spacy.vocab.Vocab, name: str = 'attribute_ruler', *, validate: bool = False, scorer: ~typing.Callable | None = <function attribute_ruler_score>)[source]

Bases: Annotator

English lemmatizer pipeline component.

See also

segram.nlp.pipeline.annotator.Annotator

Base annotator component.