mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
15 lines
332 B
Cython
15 lines
332 B
Cython
from spacy.spacy cimport Language
|
|
from spacy.lexeme cimport StringHash
|
|
from spacy.word cimport Word
|
|
|
|
|
|
cdef class PennTreebank3(Language):
|
|
cpdef list find_substrings(self, unicode word)
|
|
|
|
|
|
cdef PennTreebank3 PTB3
|
|
|
|
cpdef Word lookup(unicode word)
|
|
cpdef list tokenize(unicode string)
|
|
cpdef unicode unhash(StringHash hash_value)
|