spaCy/spacy/tagger.pxd

21 lines
499 B
Cython
Raw Normal View History

2016-01-29 05:58:55 +03:00
from thinc.linear.avgtron cimport AveragedPerceptron
from thinc.extra.eg cimport Example
from thinc.structs cimport ExampleC
2017-03-13 13:24:02 +03:00
from thinc.linear.features cimport ConjunctionExtracter
from .structs cimport TokenC
from .vocab cimport Vocab
2017-03-13 13:24:02 +03:00
cdef class TaggerModel:
cdef ConjunctionExtracter extracter
cdef object model
cdef class Tagger:
cdef readonly Vocab vocab
cdef readonly TaggerModel model
cdef public dict freqs
2016-10-17 02:03:41 +03:00
cdef public object cfg
2017-03-13 13:24:02 +03:00
cdef public object optimizer