mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-29 17:33:10 +03:00
* Remove assertion that doesn't work on Python 3
This commit is contained in:
parent
170b93e89a
commit
2856946a66
|
@ -68,7 +68,6 @@ class Lemmatizer(object):
|
||||||
|
|
||||||
|
|
||||||
def lemmatize(string, index, exceptions, rules):
|
def lemmatize(string, index, exceptions, rules):
|
||||||
assert isinstance(string, unicode)
|
|
||||||
string = string.lower()
|
string = string.lower()
|
||||||
forms = []
|
forms = []
|
||||||
if string in index:
|
if string in index:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user