* Fix issue #372: mistake in Lexeme rich comparison

This commit is contained in:
Matthew Honnibal 2016-05-12 12:58:57 +02:00
parent cc8bf62208
commit 17137f5c0c

View File

@ -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