From 47055d59881264635c399370e20f850c0cc22f5b Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 16 Sep 2019 22:10:13 +0200 Subject: [PATCH] Fix type declarations in _merge method --- spacy/tokens/_retokenize.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/tokens/_retokenize.pyx b/spacy/tokens/_retokenize.pyx index 55ad909bb..741be7e6a 100644 --- a/spacy/tokens/_retokenize.pyx +++ b/spacy/tokens/_retokenize.pyx @@ -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