spaCy/spacy/ptb3.pxd

15 lines
332 B
Cython
Raw Normal View History

from spacy.spacy cimport Language
2014-08-22 18:35:48 +04:00
from spacy.lexeme cimport StringHash
from spacy.word cimport Word
2014-08-22 18:35:48 +04:00
cdef class PennTreebank3(Language):
cpdef list find_substrings(self, unicode word)
2014-08-22 18:35:48 +04:00
cdef PennTreebank3 PTB3
cpdef Word lookup(unicode word)
cpdef list tokenize(unicode string)
cpdef unicode unhash(StringHash hash_value)