mirror of https://github.com/explosion/spaCy.git
* Ensure tagging is applied if parse=True
This commit is contained in:
parent
97a9bc6f61
commit
dd56e298e2
|
@ -112,7 +112,7 @@ class English(object):
|
|||
tokens (spacy.tokens.Tokens):
|
||||
"""
|
||||
tokens = self.tokenizer(text)
|
||||
if tag:
|
||||
if tag or parse:
|
||||
self.tagger(tokens)
|
||||
if parse:
|
||||
self.parser(tokens)
|
||||
|
|
Loading…
Reference in New Issue