mirror of https://github.com/explosion/spaCy.git
Replace cpdef variables with cdef (#7834)
This commit is contained in:
parent
95c0833656
commit
ceee1ecf17
|
@ -28,7 +28,7 @@ cdef class Candidate:
|
|||
|
||||
cdef class KnowledgeBase:
|
||||
cdef Pool mem
|
||||
cpdef readonly Vocab vocab
|
||||
cdef readonly Vocab vocab
|
||||
cdef int64_t entity_vector_length
|
||||
|
||||
# This maps 64bit keys (hash of unique entity string)
|
||||
|
|
|
@ -14,7 +14,7 @@ cdef class Tokenizer:
|
|||
cdef Pool mem
|
||||
cdef PreshMap _cache
|
||||
cdef PreshMap _specials
|
||||
cpdef readonly Vocab vocab
|
||||
cdef readonly Vocab vocab
|
||||
|
||||
cdef object _token_match
|
||||
cdef object _url_match
|
||||
|
|
|
@ -25,12 +25,12 @@ cdef struct _Cached:
|
|||
|
||||
cdef class Vocab:
|
||||
cdef Pool mem
|
||||
cpdef readonly StringStore strings
|
||||
cpdef public Morphology morphology
|
||||
cpdef public object vectors
|
||||
cpdef public object _lookups
|
||||
cpdef public object writing_system
|
||||
cpdef public object get_noun_chunks
|
||||
cdef readonly StringStore strings
|
||||
cdef public Morphology morphology
|
||||
cdef public object vectors
|
||||
cdef public object _lookups
|
||||
cdef public object writing_system
|
||||
cdef public object get_noun_chunks
|
||||
cdef readonly int length
|
||||
cdef public object data_dir
|
||||
cdef public object lex_attr_getters
|
||||
|
|
Loading…
Reference in New Issue