f
Size: a a a
f
f
В
А⚙
use itertools::Itertools;
use std::collections::HashMap;
fn main() {
    let result = TEXT
        .split_whitespace()
        .fold(HashMap::<_, i32>::new(), |mut acc, w| {
            let word = w.trim_matches(|c: char| !c.is_alphabetic()).to_lowercase();
            *acc.entry(word).or_default() += 1;
            acc
        })
        .into_iter()
        .sorted_by_key(|(_, count)| -*count);
    println!("{:?}", result);
}P
P
P
DF
А⚙
DF
P
AZ
А⚙
AZ
А⚙
p
DF
DF
DF
DF