From 0d5b142c78d6938126ebd6cc7453fa12cd80af74 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 14 Nov 2018 19:12:34 +0100 Subject: [PATCH] Fix typos and whitespace --- spacy/matcher.pyx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spacy/matcher.pyx b/spacy/matcher.pyx index b3974977e..601505770 100644 --- a/spacy/matcher.pyx +++ b/spacy/matcher.pyx @@ -13,7 +13,6 @@ from .vocab cimport Vocab from .tokens.doc cimport Doc from .tokens.doc cimport get_token_attr from .attrs cimport ID, attr_id_t, NULL_ATTR -from .errors import Errors, TempErrors from .errors import Errors, TempErrors, Warnings, deprecation_warning from .attrs import IDS @@ -663,7 +662,7 @@ cdef class PhraseMatcher: for doc in stream: matches = self(doc) if return_matches: - yield (doc, matches) + yield (doc, matches) else: yield doc