mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
Add getters_for_tokens and getters_for_spans attributes to Doc object.
This commit is contained in:
parent
5bc101006e
commit
ae11ea8240
|
@ -39,6 +39,9 @@ cdef class Doc:
|
||||||
cdef public bint is_tagged
|
cdef public bint is_tagged
|
||||||
cdef public bint is_parsed
|
cdef public bint is_parsed
|
||||||
|
|
||||||
|
cdef public dict getters_for_tokens
|
||||||
|
cdef public dict getters_for_spans
|
||||||
|
|
||||||
cdef public list _py_tokens
|
cdef public list _py_tokens
|
||||||
|
|
||||||
cdef int length
|
cdef int length
|
||||||
|
|
Loading…
Reference in New Issue
Block a user