compare_labels# montreal_forced_aligner.helper.compare_labels(ref, test, silence_phone, mapping=None)[source]# Parameters: ref (str) test (str) mapping (Optional[dict[str, str]]) Returns: 0 if labels match or they’re in mapping, 2 otherwise Return type: int