mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Fix typo
This commit is contained in:
parent
459c6aa8f0
commit
9fe1fa88ad
|
@ -140,7 +140,7 @@ def train(
|
||||||
|
|
||||||
# Create empty extra lexeme tables so the data from spacy-lookups-data
|
# Create empty extra lexeme tables so the data from spacy-lookups-data
|
||||||
# isn't loaded if these features are accessed
|
# isn't loaded if these features are accessed
|
||||||
if config["omit_extra_lookups"]:
|
if config["training"]["omit_extra_lookups"]:
|
||||||
nlp.vocab.lookups_extra = Lookups()
|
nlp.vocab.lookups_extra = Lookups()
|
||||||
nlp.vocab.lookups_extra.add_table("lexeme_cluster")
|
nlp.vocab.lookups_extra.add_table("lexeme_cluster")
|
||||||
nlp.vocab.lookups_extra.add_table("lexeme_prob")
|
nlp.vocab.lookups_extra.add_table("lexeme_prob")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user