Helper functions#
|
Helper function to combine a list into a human-readable expression with commas and a final "and" separator |
|
Helper function to make an element a string |
|
Helper function to make a string safe for saving in Kaldi scp files. |
|
Load a Kaldi script file (.scp) |
|
Helper function to load previously made safe text. |
|
Computes word error rate and character error rate for a transcription |
|
Compute edit distance between two sets of labels |
|
Helper function to save mapping information (i.e., utt2spk) in Kaldi scp format |
|
|
|
Method to calculate overlap scoring |
|
Align phones based on how much they overlap and their phone label, with the ability to specify a custom mapping for different phone labels to be scored as if they're the same phone |