stem_file/
main.rs

1
2
3
4
5
6
7
8
extern crate rust_stemmers;

use rust_stemmers::{Algorithm, Stemmer};

fn main() {
    let en_stemmer = Stemmer::create(Algorithm::English);
    assert_eq!(en_stemmer.stem("fruitlessly"), "fruitless");    
}