From a510d9f6774d48bace3063bd737c9bdb8bd3556f Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 5 Jan 2015 13:01:28 +1100 Subject: [PATCH] * Another assertion removed --- spacy/en/lemmatizer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/en/lemmatizer.py b/spacy/en/lemmatizer.py index 2ece2adea..5883e12c8 100644 --- a/spacy/en/lemmatizer.py +++ b/spacy/en/lemmatizer.py @@ -77,7 +77,6 @@ def lemmatize(string, index, exceptions, rules): if string.endswith(old): form = string[:len(string) - len(old)] + new if form in index: - assert isinstance(form, unicode) forms.append(form) if not forms: forms.append(string)