english

Function english 

Source
pub fn english() -> &'static HashMap<char, f64>
Expand description

Returns the frequencies of each letter of the English alphabet as a map between characters and percentage of words they appear in. The returned map will include both lowercase and uppercase characters, with the lowercase and uppercase variant of each letter having the same frequency value. To get a specific subset, use Frequency::english_lowercase() or Frequency::english_uppercase().

§Performance

This is O(1).

§Returns

A map of letters and their frequencies.