Add threshold as option
All threads resolved!
All threads resolved!
Compare changes
Files
4+ 34
− 6
@@ -9,9 +9,10 @@ import editdistance
@@ -189,7 +190,11 @@ def look_for_further_entity_part(index, tag, characters, labels):
@@ -274,7+279,7 @@
@@ -324,7+329,7 @@
@@ -454,7 +459,7 @@ def print_results(scores: dict):
@@ -486,7 +491,11 @@ def run(annotation: str, prediction: str) -> dict:
@@ -498,6 +507,17 @@ def run(annotation: str, prediction: str) -> dict:
@@ -510,9 +530,17 @@ def main():