mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-29 03:16:31 +03:00
18 lines
332 B
Cython
18 lines
332 B
Cython
|
|
from spacy.tokens.doc cimport Doc
|
|
|
|
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
|