mirror of https://github.com/explosion/spaCy.git
Fix typos and whitespace
This commit is contained in:
parent
bd1b0e396a
commit
0d5b142c78
|
@ -13,7 +13,6 @@ from .vocab cimport Vocab
|
||||||
from .tokens.doc cimport Doc
|
from .tokens.doc cimport Doc
|
||||||
from .tokens.doc cimport get_token_attr
|
from .tokens.doc cimport get_token_attr
|
||||||
from .attrs cimport ID, attr_id_t, NULL_ATTR
|
from .attrs cimport ID, attr_id_t, NULL_ATTR
|
||||||
from .errors import Errors, TempErrors
|
|
||||||
from .errors import Errors, TempErrors, Warnings, deprecation_warning
|
from .errors import Errors, TempErrors, Warnings, deprecation_warning
|
||||||
|
|
||||||
from .attrs import IDS
|
from .attrs import IDS
|
||||||
|
@ -663,7 +662,7 @@ cdef class PhraseMatcher:
|
||||||
for doc in stream:
|
for doc in stream:
|
||||||
matches = self(doc)
|
matches = self(doc)
|
||||||
if return_matches:
|
if return_matches:
|
||||||
yield (doc, matches)
|
yield (doc, matches)
|
||||||
else:
|
else:
|
||||||
yield doc
|
yield doc
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue