mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +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
|
||||
b = other
|
||||
elif isinstance(other, str):
|
||||
a = self.orth
|
||||
a = self.orth_
|
||||
b = other
|
||||
else:
|
||||
a = 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user