Remove prints

This commit is contained in:
Matthew Honnibal 2020-06-22 15:34:55 +02:00
parent 5a2d37c18f
commit 2de72b30fe

View File

@ -196,8 +196,6 @@ cdef class Example:
next_ner = x_tags[i+1] if (i+1) < self.x.length else None next_ner = x_tags[i+1] if (i+1) < self.x.length else None
if prev_ner == "O" or next_ner == "O": if prev_ner == "O" or next_ner == "O":
x_tags[i] = "O" x_tags[i] = "O"
#print("Y tags", y_tags)
#print("X tags", x_tags)
return x_tags return x_tags
def to_dict(self): def to_dict(self):