From 288298ead9dc6631172173c92049525315859e85 Mon Sep 17 00:00:00 2001 From: Mathias Deschamps Date: Mon, 13 Nov 2017 12:07:05 +0100 Subject: [PATCH] Add norm exception for ing verbs Some ing verbs are sometimes written in or in'. Make the NORM form correct --- spacy/lang/en/norm_exceptions.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spacy/lang/en/norm_exceptions.py b/spacy/lang/en/norm_exceptions.py index 49c8ef6ab..402dc3c91 100644 --- a/spacy/lang/en/norm_exceptions.py +++ b/spacy/lang/en/norm_exceptions.py @@ -459,6 +459,8 @@ _exc = { "disorganised": "disorganized", "distil": "distill", "distils": "distills", + "doin": "doing", + "doin'": "doing", "dramatisation": "dramatization", "dramatisations": "dramatizations", "dramatise": "dramatize", @@ -687,6 +689,8 @@ _exc = { "globalises": "globalizes", "globalising": "globalizing", "glueing ": "gluing ", + "goin": "going", + "goin'":"going", "goitre": "goiter", "goitres": "goiters", "gonorrhoea": "gonorrhea", @@ -733,6 +737,8 @@ _exc = { "harmonised": "harmonized", "harmonises": "harmonizes", "harmonising": "harmonizing", + "havin": "having", + "havin'": "having", "homoeopath": "homeopath", "homoeopathic": "homeopathic", "homoeopaths": "homeopaths", @@ -924,6 +930,8 @@ _exc = { "localised": "localized", "localises": "localizes", "localising": "localizing", + "lovin": "loving", + "lovin'": "loving", "louvre": "louver", "louvred": "louvered", "louvres": "louvers ",