(relation)
| 6 | from utils import * |
| 7 | |
| 8 | def transform_relation(relation): |
| 9 | relation_without_prefix = relation.replace("wiki.relation.", "").replace("_", " ") |
| 10 | return relation_without_prefix |
| 11 | |
| 12 | |
| 13 | def clean_relations(string, entity_id, head_relations): |