* More debug prints

This commit is contained in:
Matthew Honnibal 2015-01-30 11:15:54 +11:00
parent 5458f220f8
commit b38093237e

View File

@ -105,7 +105,9 @@ def _align_annotations_to_non_gold_tokens(tokens, words, annot):
print words
for token in tokens:
print token.orth_, words[0]
print token.idx, annot[0][0]
while annot and token.idx > annot[0][0]:
print 'pop', token.idx, annot[0][0]
annot.pop(0)
words.pop(0)
loss += 1