From f6955a459c4f6eaa8d0b3a9be3701c594a6e35d0 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 3 Jun 2017 14:38:37 -0500 Subject: [PATCH] Fix prev commit --- spacy/gold.pyx | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/gold.pyx b/spacy/gold.pyx index ad5a0ddd4..6b07592cc 100644 --- a/spacy/gold.pyx +++ b/spacy/gold.pyx @@ -195,7 +195,6 @@ class GoldCorpus(object): def count_train(self): n = 0 for raw_text, paragraph_tuples in self.train_tuples: - for _ in self.train_tuples: n += len(paragraph_tuples) return n