mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 02:16:32 +03:00
20 lines
352 B
Cython
20 lines
352 B
Cython
|
|
from spacy.tokens.doc cimport Doc
|
|
|
|
cdef dict CHUNKERS
|
|
|
|
cdef class DocIterator:
|
|
cdef Doc _doc
|
|
|
|
cdef class EnglishNounChunks(DocIterator):
|
|
cdef int i
|
|
cdef int _np_label
|
|
cdef set _np_deps
|
|
cdef int _conjunct
|
|
|
|
cdef class GermanNounChunks(DocIterator):
|
|
cdef int i
|
|
cdef int _np_label
|
|
cdef set _np_deps
|
|
cdef int _close_app
|