#text-analysis #words #mcw-tan

bin+lib mcw

mcw/tan - text analysis

8 stable releases

new 2.0.0 Mar 4, 2025
1.4.1 Nov 23, 2024
1.4.0 Nov 21, 2024
1.3.4 Nov 21, 2024
1.3.3 Nov 20, 2024

#532 in Text processing

Download history 350/week @ 2024-11-15 247/week @ 2024-11-22 6/week @ 2024-11-29 5/week @ 2025-02-21 95/week @ 2025-02-28

100 downloads per month

MIT license

8KB
135 lines

tan - text analysis


tan (previously mcw) is rust crate that stands for: "text analysis" mcw does what it says -> returns most common words

Using the Crate

use tan;
fn main(){
    let words = tan::get_words("Hello World", std::collections::HashSet::new());
    for word in words{
        println!("{} : {}", word.value, word.amount);
    }
}

No runtime deps