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
100 downloads per month
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);
}
}