mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-12 04:38:28 +03:00
* Update tagger.pxd for CharacterTagger model
This commit is contained in:
parent
77f2b218f9
commit
db87db87ea
|
@ -10,6 +10,15 @@ cdef class TaggerNeuralNet(NeuralNet):
|
||||||
cdef void set_featuresC(self, ExampleC* eg, const TokenC* tokens, int i) except *
|
cdef void set_featuresC(self, ExampleC* eg, const TokenC* tokens, int i) except *
|
||||||
|
|
||||||
cdef class CharacterTagger(NeuralNet):
|
cdef class CharacterTagger(NeuralNet):
|
||||||
|
cdef readonly int depth
|
||||||
|
cdef readonly int hidden_width
|
||||||
|
cdef readonly int chars_width
|
||||||
|
cdef readonly int tags_width
|
||||||
|
cdef readonly float learn_rate
|
||||||
|
cdef readonly int left_window
|
||||||
|
cdef readonly int right_window
|
||||||
|
cdef readonly int tags_window
|
||||||
|
cdef readonly int chars_per_word
|
||||||
cdef void set_featuresC(self, ExampleC* eg, const TokenC* tokens, object strings, int i) except *
|
cdef void set_featuresC(self, ExampleC* eg, const TokenC* tokens, object strings, int i) except *
|
||||||
|
|
||||||
cdef class Tagger:
|
cdef class Tagger:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user