mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 02:36:32 +03:00
Fix off-by-1 in parse features fill_context
This commit is contained in:
parent
4ef68c413f
commit
3d0833c3df
|
@ -33,7 +33,6 @@ cdef inline void fill_token(atom_t* context, const TokenC* token) nogil:
|
||||||
context[9] = 0
|
context[9] = 0
|
||||||
context[10] = 0
|
context[10] = 0
|
||||||
context[11] = 0
|
context[11] = 0
|
||||||
context[12] = 0
|
|
||||||
else:
|
else:
|
||||||
context[0] = token.lex.orth
|
context[0] = token.lex.orth
|
||||||
context[1] = token.lemma
|
context[1] = token.lemma
|
||||||
|
|
Loading…
Reference in New Issue
Block a user