Load annotations.
(fname)
| 81 | |
| 82 | |
| 83 | def load_annotations(fname): |
| 84 | """Load annotations.""" |
| 85 | annotation_dict = {} |
| 86 | examples = load_example_from_jsonl(fname) |
| 87 | for example in examples: |
| 88 | annotation_dict[example.example_id] = example.annotations |
| 89 | return annotation_dict |
nothing calls this directly
no test coverage detected
searching dependent graphs…