lookup_lemmatizer
LookupLemmatizer #
Bases: Pipe
LookupLemmatizer learn (token, pos, morph. feat) -> lemma
mappings during training, and applies them at prediction
time.
train #
Parameters:
Name | Type | Description | Default |
---|---|---|---|
sentences
|
Iterable[Iterable[Tuple[str, str, str, str]]]
|
Sentences to learn the mappings from |
required |
min_occurrences
|
int
|
mapping occurring less than this threshold are not learned |
1
|