From 7fc4dadd22b7535401bdd698806c8216fb15f2e4 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 22 Jul 2020 20:27:22 +0200 Subject: [PATCH] Fix typo --- spacy/gold/augment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/gold/augment.py b/spacy/gold/augment.py index 790762617..4a01c8589 100644 --- a/spacy/gold/augment.py +++ b/spacy/gold/augment.py @@ -27,7 +27,7 @@ def make_orth_variants(nlp, raw_text, orig_token_dict, orth_variant_level=0.0): raw = raw.lower() orth_variants = nlp.vocab.lookups.get_table("orth_variants", {}) ndsv = orth_variants.get("single", []) - ndpv = orth_variants.get("pairsed", []) + ndpv = orth_variants.get("paired", []) words = token_dict.get("words", []) tags = token_dict.get("tags", []) # keep unmodified if words or tags are not defined