From dd56e298e225dbb4325434a69ca54fa39b76d9fb Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 25 Jan 2015 02:19:44 +1100 Subject: [PATCH] * Ensure tagging is applied if parse=True --- spacy/en/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/en/__init__.py b/spacy/en/__init__.py index 2cd69434b..ef8bb5235 100644 --- a/spacy/en/__init__.py +++ b/spacy/en/__init__.py @@ -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)