Misspelling on Lemmatizer Example #4406 (#4449)

Removing extra o in the lookups = Loookups()
This commit is contained in:
Ghola 2019-10-17 00:23:15 +03:00 committed by Matthew Honnibal
parent e646956176
commit 258eb9e064
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ Lemmatize a string.
> ```python
> from spacy.lemmatizer import Lemmatizer
> from spacy.lookups import Lookups
> lookups = Loookups()
> lookups = Lookups()
> lookups.add_table("lemma_rules", {"noun": [["s", ""]]})
> lemmatizer = Lemmatizer(lookups)
> lemmas = lemmatizer("ducks", "NOUN")