conlleval
conlleval copied to clipboard
ValueError: not enough values to unpack (expected 2, got 1)
Getting this error when using arbitrary tags like
count_chunks(true_seqs, pred_seqs)
129
130 _, true_type = split_tag(true_tag)
--> 131 _, pred_type = split_tag(pred_tag)
132
133 if correct_chunk is not None:
ValueError: not enough values to unpack (expected 2, got 1)
I believe this happens if tags don't have a "-" in them or aren't an "O".