Handle all beginning labels
Compare changes
Files
3+ 36
− 11
@@ -12,6 +12,7 @@ import termtables as tt
@@ -31,6 +32,23 @@ def get_type_label(label: str) -> str:
@@ -75,13 +93,17 @@ def parse_bio(path: str) -> dict:
@@ -99,7 +121,7 @@ def parse_bio(path: str) -> dict:
@@ -117,13 +139,13 @@ def parse_bio(path: str) -> dict:
@@ -171,7 +193,7 @@ def look_for_further_entity_part(index, tag, characters, labels):
@@ -254,7 +276,7 @@ def compute_matches(
@@ -269,18 +291,21 @@ def compute_matches(
@@ -372,7 +397,7 @@ def get_labels_aligned(original: str, aligned: str, labels_original: list) -> li