From bc5ce498593a4f583225ddbf672d3703f1865928 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 28 Aug 2019 17:55:38 +0200 Subject: [PATCH] Fix 'noise_level' in train cmd --- 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 c4355f1a1..04e734068 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -240,7 +240,7 @@ def train( best_score = 0.0 for i in range(n_iter): train_docs = corpus.train_docs( - nlp, noise_level=noise_level, gold_preproc=gold_preproc, max_length=0 + nlp, orth_variant_level=noise_level, gold_preproc=gold_preproc, max_length=0 ) if raw_text: random.shuffle(raw_text)