[][src]Crate rust_stemmers

This library provides rust implementations for some stemmer algorithms written in the snowball language.

All algorithms expect the input to already be lowercased.

Usage

[dependencies]
rust-stemmers = "^1.0"
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");
}

Structs

Stemmer

Wrapps a usable interface around the actual stemmer implementation

Enums

Algorithm

Enum of all supported algorithms. Check the Snowball-Website for details.