Fix error in vocab

This commit is contained in:
Matthew Honnibal 2018-08-16 17:18:09 +02:00
parent 00febda2e3
commit 5ce459d2ee

View File

@ -224,7 +224,6 @@ cdef class Vocab:
cdef int i
tokens = <TokenC*>self.mem.alloc(len(substrings) + 1, sizeof(TokenC))
for i, props in enumerate(substrings):
self.strings.add(props[ORTH])
props = intify_attrs(props, strings_map=self.strings,
_do_deprecated=True)
token = &tokens[i]