Skip to content

Latest commit

 

History

55 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-stem

Porter's stemmer for rust

How to use

  1. Add the dependency to your Cargo.toml

    [dependencies.stem]
    git = "https://github.com/minhnhdo/rust-stem"
  2. Usage

    let word = "pencils"
    let s = stem::get(word);
    match s {
       Ok(stemmed) => println!("{} => {}", word, stemmed),
       Err(e) => println!("could not stem! reason: {}", e),
    }
  3. Compile / Run

    $ cargo run

About

Porter's stemmer for rust

Resources

Stars

24 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages