fn for_each_word_run(text: &str, f: impl FnMut(CharClass, Range<usize>))
Calls f on every maximal run of word characters of the same class.
f