From eaf4065480c9c2edb78abbc8c37ae1f95dba0e7b Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 24 Sep 2016 11:20:42 +0200 Subject: [PATCH] Expose the _patterns private member --- spacy/matcher.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/matcher.pyx b/spacy/matcher.pyx index c39f680cd..089dddf95 100644 --- a/spacy/matcher.pyx +++ b/spacy/matcher.pyx @@ -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):