* Remove assertion from vocab.pyx

This commit is contained in:
Matthew Honnibal 2015-09-13 10:30:08 +10:00
parent c08f10083c
commit e9c59693ea
1 changed files with 0 additions and 1 deletions

View File

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