Check if the word is in one of the regular lists specific to each POS
@@ -107,6 +107,9 @@ class FrenchLemmatizer(object):
def lemmatize(string, index, exceptions, rules):
string = string.lower()
forms = []
+ if (string in index):
+ forms.append(string)
+ return forms
forms.extend(exceptions.get(string, []))
oov_forms = []
if not forms:
