spaCy/spacy/string_tools.pxd
2014-08-15 23:57:27 +02:00

8 lines
189 B
Cython

cpdef bytes to_bytes(unicode string)
cpdef unicode from_bytes(bytes string)
cpdef unicode substr(unicode string, int start, int end, size_t length)
cdef bint is_whitespace(Py_UNICODE c)