mirror of https://github.com/explosion/spaCy.git
Expose the _patterns private member
This commit is contained in:
parent
15e42a1ba9
commit
eaf4065480
|
@ -194,7 +194,7 @@ cdef class Matcher:
|
|||
cdef Pool mem
|
||||
cdef vector[TokenPatternC*] patterns
|
||||
cdef readonly Vocab vocab
|
||||
cdef object _patterns
|
||||
cdef public object _patterns
|
||||
|
||||
@classmethod
|
||||
def load(cls, data_dir, Vocab vocab):
|
||||
|
|
Loading…
Reference in New Issue