Stems the word using stemmer. Passes the word through if it is false
stemmer
Stems the word using stemmer. Passes the word through if it is false.
iex> SimpleBayes.Trainer.TokenStemmer.stem("buying", false) "buying" iex> SimpleBayes.Trainer.TokenStemmer.stem("buying", &Stemmer.stem/1) "buy"