spaCy/spacy/en.pxd
2014-08-27 19:38:57 +02:00

8 lines
156 B
Cython

from spacy.lang cimport Language
from spacy.word cimport Lexeme
cimport cython
cdef class English(Language):
cpdef int _split_one(self, unicode word)