eval_utils#
Utility function for TyDi QA evaluation.
Functions
Compute byte indices precision, recall and F1 score between span a and b. |
|
Gets vote from annotators for judging if there is a minimal answer. |
|
Gets vote from annotators for judging if there is a passage answer. |
|
Given two spans, return if they are equal. |
|
Computes average elements, but returns 0 if elements is empty. |
|
Compute x / y, but return 0 if y is zero. |
Classes
A class for handling token and byte spans. |
|