mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
* Add count_tags functionto pos.pyx, which should probably live in another file. Feature set achieves 97.9 on wsj19-21, 95.85 on onto web.
This commit is contained in:
parent
f67cb9a5a3
commit
aaf6953fe0
|
@ -7,23 +7,6 @@ from thinc.typedefs cimport atom_t, feat_t, weight_t, class_t
|
||||||
from .tokens cimport Tokens
|
from .tokens cimport Tokens
|
||||||
|
|
||||||
|
|
||||||
cpdef enum PosTag:
|
|
||||||
NONE
|
|
||||||
ADJ
|
|
||||||
ADP
|
|
||||||
ADV
|
|
||||||
CONJ
|
|
||||||
DET
|
|
||||||
NOUN
|
|
||||||
NUM
|
|
||||||
PDT
|
|
||||||
POS
|
|
||||||
PRON
|
|
||||||
PRT
|
|
||||||
PUNCT
|
|
||||||
VERB
|
|
||||||
|
|
||||||
|
|
||||||
cdef class Tagger:
|
cdef class Tagger:
|
||||||
cpdef readonly Extractor extractor
|
cpdef readonly Extractor extractor
|
||||||
cpdef readonly LinearModel model
|
cpdef readonly LinearModel model
|
||||||
|
|
Loading…
Reference in New Issue
Block a user