Skip to content
Snippets Groups Projects

Resolve "process_poleval plain text"

6 files
+ 90
54
Compare changes
  • Side-by-side
  • Inline

Files

@@ -551,4 +551,4 @@ def iob2_to_iob(iob2_text):
@@ -551,4 +551,4 @@ def iob2_to_iob(iob2_text):
else:
else:
current_ann.append(ann)
current_ann.append(ann)
iob1_list.append((line[0], '#'.join(current_ann)))
iob1_list.append((line[0], '#'.join(current_ann)))
return '\n'.join(map(lambda x: '{} {}'.format(x[0], x[1]) , iob1_list))
return '\n'.join(map(lambda x: '{} {}'.format(x[0], x[1]), iob1_list))
\ No newline at end of file
Loading