* Python3 correction for GoldParse

This commit is contained in:
Matthew Honnibal 2015-07-28 14:44:53 +02:00
parent ddc1a5cfe5
commit 7606d9936f

View File

@ -218,7 +218,7 @@ cdef class GoldParse:
self.cand_to_gold = align([t.orth_ for t in tokens], annot_tuples[1])
self.gold_to_cand = align(annot_tuples[1], [t.orth_ for t in tokens])
self.orig_annot = zip(*annot_tuples)
self.orig_annot = list(zip(*annot_tuples))
words = [w.orth_ for w in tokens]
for i, gold_i in enumerate(self.cand_to_gold):