mirror of https://github.com/explosion/spaCy.git
Fix type declarations in _merge method
This commit is contained in:
parent
03ac29f437
commit
47055d5988
|
@ -146,6 +146,7 @@ def _merge(Doc doc, merges):
|
|||
syntactic root of the span.
|
||||
RETURNS (Token): The first newly merged token.
|
||||
"""
|
||||
cdef int i, merge_index, start, end, token_index
|
||||
cdef Span span
|
||||
cdef const LexemeC* lex
|
||||
cdef TokenC* token
|
||||
|
|
Loading…
Reference in New Issue