Coverage Measure

class tde.measures.coverage.Coverage(gold, disc, output_folder=None)[source]

Bases: tde.measures.measures.Measure

Coverage measure

The coverage measures how many ‘Gold’ phonemes were found. See 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

property fscore
property precision
property recall