* Ensure tagging is applied if parse=True

This commit is contained in:
Matthew Honnibal 2015-01-25 02:19:44 +11:00
parent 97a9bc6f61
commit dd56e298e2
1 changed files with 1 additions and 1 deletions

View File

@ -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)