mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
Fix error in vocab
This commit is contained in:
parent
00febda2e3
commit
5ce459d2ee
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue
Block a user