mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +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):
|
||||
assert isinstance(string, unicode)
|
||||
string = string.lower()
|
||||
forms = []
|
||||
if string in index:
|
||||
|
|
Loading…
Reference in New Issue
Block a user