mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Make mem and vocab python-visible in Doc
This commit is contained in:
parent
d42fe2e694
commit
6609fcf4b2
|
@ -15,8 +15,8 @@ ctypedef fused LexemeOrToken:
|
||||||
|
|
||||||
|
|
||||||
cdef class Doc:
|
cdef class Doc:
|
||||||
cdef Pool mem
|
cdef readonly Pool mem
|
||||||
cdef Vocab vocab
|
cdef readonly Vocab vocab
|
||||||
|
|
||||||
cdef TokenC* data
|
cdef TokenC* data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user