From 72abbb43fb9ba297319bcfa061456e5362b1d0c0 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 6 Nov 2015 00:47:26 +1100 Subject: [PATCH] * Add type declarations in strings.pyx --- spacy/strings.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/strings.pyx b/spacy/strings.pyx index f6b922424..b9264b915 100644 --- a/spacy/strings.pyx +++ b/spacy/strings.pyx @@ -96,6 +96,7 @@ cdef class StringStore: cdef bytes byte_string cdef unicode py_string cdef const Utf8Str* utf8str + cdef int id_ if isinstance(string_or_id, int) or isinstance(string_or_id, long): if string_or_id == 0: