From 9fe1fa88adb142fba279362ea077fef9ed0afe4d Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 10 Jul 2020 20:32:37 +0200 Subject: [PATCH] Fix typo --- spacy/cli/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/train.py b/spacy/cli/train.py index 3bb316a2b..ebcf1183c 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -140,7 +140,7 @@ def train( # Create empty extra lexeme tables so the data from spacy-lookups-data # 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.add_table("lexeme_cluster") nlp.vocab.lookups_extra.add_table("lexeme_prob")