mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 09:44:36 +03:00
* Fix issue #372: mistake in Lexeme rich comparison
This commit is contained in:
parent
cc8bf62208
commit
17137f5c0c
|
@ -48,7 +48,7 @@ cdef class Lexeme:
|
||||||
a = self.orth
|
a = self.orth
|
||||||
b = other
|
b = other
|
||||||
elif isinstance(other, str):
|
elif isinstance(other, str):
|
||||||
a = self.orth
|
a = self.orth_
|
||||||
b = other
|
b = other
|
||||||
else:
|
else:
|
||||||
a = 0
|
a = 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user