What problem does your feature solve?
A method to do analysis of annotations (namely for the application of looking at differences between gold and predicted annotations).
Describe the solution you'd like
The Annotation class should be given some static methods like Annotation.diff(ann_object_1, ann_object_2) will output the difference between to annotation objects. Maybe some parameter for leniency to deal with fuzzy annotation matching.
Interface sklearn to compute various evaluation metrics between two annotation files (assuming one is gold and one is predicted).
Additional context
This would be very useful for result analysis and guiding the building of pipelines.
What problem does your feature solve?
A method to do analysis of annotations (namely for the application of looking at differences between gold and predicted annotations).
Describe the solution you'd like
The Annotation class should be given some static methods like
Annotation.diff(ann_object_1, ann_object_2)will output the difference between to annotation objects. Maybe some parameter for leniency to deal with fuzzy annotation matching.Interface sklearn to compute various evaluation metrics between two annotation files (assuming one is gold and one is predicted).
Additional context
This would be very useful for result analysis and guiding the building of pipelines.