From 123810b6ded7a0828c1c4c072fcc8b1287a0c5ed Mon Sep 17 00:00:00 2001 From: ines Date: Thu, 9 Nov 2017 17:09:30 +0100 Subject: [PATCH] Add "lovin'" to tokenizer exceptions (see #1248) --- spacy/lang/en/tokenizer_exceptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacy/lang/en/tokenizer_exceptions.py b/spacy/lang/en/tokenizer_exceptions.py index e91b5d9d1..e870307af 100644 --- a/spacy/lang/en/tokenizer_exceptions.py +++ b/spacy/lang/en/tokenizer_exceptions.py @@ -385,6 +385,8 @@ for exc_data in [ {ORTH: "Ma'am", LEMMA: "madam", NORM: "madam"}, {ORTH: "o'clock", LEMMA: "o'clock", NORM: "o'clock"}, {ORTH: "O'clock", LEMMA: "o'clock", NORM: "o'clock"}, + {ORTH: "lovin'", LEMMA: "love", NORM: "loving"}, + {ORTH: "Lovin'", LEMMA: "love", NORM: "loving"}, {ORTH: "Mt.", LEMMA: "Mount", NORM: "Mount"}, {ORTH: "Ak.", LEMMA: "Alaska", NORM: "Alaska"},