mirror of https://github.com/explosion/spaCy.git
Removing extra o in the lookups = Loookups()
This commit is contained in:
parent
e646956176
commit
258eb9e064
|
@ -54,7 +54,7 @@ Lemmatize a string.
|
||||||
> ```python
|
> ```python
|
||||||
> from spacy.lemmatizer import Lemmatizer
|
> from spacy.lemmatizer import Lemmatizer
|
||||||
> from spacy.lookups import Lookups
|
> from spacy.lookups import Lookups
|
||||||
> lookups = Loookups()
|
> lookups = Lookups()
|
||||||
> lookups.add_table("lemma_rules", {"noun": [["s", ""]]})
|
> lookups.add_table("lemma_rules", {"noun": [["s", ""]]})
|
||||||
> lemmatizer = Lemmatizer(lookups)
|
> lemmatizer = Lemmatizer(lookups)
|
||||||
> lemmas = lemmatizer("ducks", "NOUN")
|
> lemmas = lemmatizer("ducks", "NOUN")
|
||||||
|
|
Loading…
Reference in New Issue