Something went wrong on our end
Convert NER prediction to BIO format
All threads resolved!
All threads resolved!
Compare changes
Files
2- Eva Bardou authored
+ 27
− 11
@@ -23,10 +30,12 @@ def convert(text: str, ner_tokens: Dict[str, EntityType]) -> str:
@@ -37,15 +46,22 @@ def convert(text: str, ner_tokens: Dict[str, EntityType]) -> str:
@@ -62,7 +78,7 @@ def convert(text: str, ner_tokens: Dict[str, EntityType]) -> str: