pub fn similarity(expected: &str, heard: &str) -> f64
Word-level similarity of heard to expected, from 0 to 1: one minus the word edit distance over the length of the longer text, after lowercasing and dropping punctuation.
heard
expected