diff --git a/spacy/tokens/token.pyx b/spacy/tokens/token.pyx index 26cdae786..b2b7dc83f 100644 --- a/spacy/tokens/token.pyx +++ b/spacy/tokens/token.pyx @@ -1,3 +1,7 @@ +# encoding: utf8 +# cython: infer_types=True +from __future__ import unicode_literals + from libc.string cimport memcpy from cpython.mem cimport PyMem_Malloc, PyMem_Free # Compiler crashes on memory view coercion without this. Should report bug.