[][src]Function porter_stemmer::stem

pub fn stem(word: &str) -> String

Given a word, return its stemmed form

Examples

use porter_stemmer::stem;

let stemmed = stem("totally");
assert_eq!("total", &stemmed);