mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fix issue #672: ent_iob_ was a string, not unicode, due to missing unicode_literals statement.
This commit is contained in:
parent
29fb9db4e8
commit
404019ad2f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user