[][src]Function kanji::kanji_counts

pub fn kanji_counts(
    s: &str,
    levels: &HashMap<Kanji, Level>
) -> HashMap<Level, u32>

Determine how many Kanji of each exam level appear in some text, given a lookup table.

The lookup table can be created via level_table.