wordnet_stemmer 0.1.0

Wordnet stemmer
docs.rs failed to build wordnet_stemmer-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: wordnet_stemmer-0.1.1

rustbar

Wordnet stemmer for rust, based on python nltk implementation.

You will need to download wordnet database files here: https://wordnet.princeton.edu/wordnet/download/current-version/

extern crate wordnet_stemmer;

use wordnet_stemmer::{WordnetStemmer, NOUN};

pub fn main(){
    let wn = ::WordnetStemmer::new("/home/maciej/nltk_data/corpora/wordnet/").unwrap();
    println!("{}", wn.lemma(NOUN, "dogs".to_owned());
}