From 69840d8cc3afafac92db72174121201b497f6d89 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 6 May 2015 16:31:23 +0200 Subject: [PATCH] * Tweak verbose output printing in scorer.py --- spacy/scorer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/scorer.py b/spacy/scorer.py index a15d5564e..272647778 100644 --- a/spacy/scorer.py +++ b/spacy/scorer.py @@ -47,7 +47,7 @@ class Scorer(object): if not self.skip_token(i, token, gold): self.total += 1 if verbose: - print token.orth_, token.dep_, token.head.orth_ + print token.orth_, token.dep_, token.head.orth_, token.head.i == gold.heads[i] if token.head.i == gold.heads[i]: self.heads_corr += 1 self.labels_corr += token.dep_ == gold.labels[i]