compare_labels#

montreal_forced_aligner.helper.compare_labels(ref, test, silence_phone, mapping=None)[source]#
Parameters:
Returns:

0 if labels match or they’re in mapping, 2 otherwise

Return type:

int