From e9c59693ea3fd4ed0c5a5878680f60ec51dbf47c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 13 Sep 2015 10:30:08 +1000 Subject: [PATCH] * Remove assertion from vocab.pyx --- spacy/vocab.pyx | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 8d0ea932f..7a07bde7a 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -255,7 +255,6 @@ cdef class Vocab: lexeme.repvec = EMPTY_VEC py_str = self.strings[lexeme.orth] - assert py_str[-3:] == self.strings[lexeme.suffix], "%s (%d) suffix %s (%d)" % (repr(py_str), lexeme.orth, repr(self.strings[lexeme.suffix]), lexeme.suffix) key = hash_string(py_str) self._by_hash.set(key, lexeme) self._by_orth.set(lexeme.orth, lexeme)