Coverage(gold, disc, output_folder=None)¶
The coverage measures how many ‘Gold’ phonemes were found. See https://docs.cognitive-ml.fr/tde/measures/index.html for a summary of all measures.
Input :param disc: Discovered Object, contains the discovered phonemes :param gold: Gold object, contains all the gold phonemes :param output_folder: string, path to the output folder
Output :param coverage: Coverage
For coverage, simply compute the ratio of discovered phones over all phone
Input: :param covered_phn: a set containing all the covered phones
Output: :param coverage: the ratio of number of covered phones over
the overall number of phones in the corpus