mirror of https://github.com/explosion/spaCy.git
* Another assertion removed
This commit is contained in:
parent
0217df5779
commit
a510d9f677
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue