From 17137f5c0c00202579c07616db0c5dca95609563 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 12 May 2016 12:58:57 +0200 Subject: [PATCH] * Fix issue #372: mistake in Lexeme rich comparison --- spacy/lexeme.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lexeme.pyx b/spacy/lexeme.pyx index 4d4d982f0..866f62da1 100644 --- a/spacy/lexeme.pyx +++ b/spacy/lexeme.pyx @@ -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