pub fn wer(text: &str, truth: &str) -> f64
Word error rate of text against truth: edits over the truth’s own words, and no error when the truth has none.
text
truth