spaCy/spacy/string_tools.pxd

8 lines
189 B
Cython
Raw Normal View History

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)