Provides a simple wrapper around the tartarus.org Snowball stemmer.
To install, add the following to your project :dependencies
:
[snowball-stemmer "0.1.1"]
user=> (require '[stemmer.snowball :as snowball])
nil
user=> (def stemmer (snowball/stemmer :english))
#'user/stemmer
user=> (stemmer "probable")
"probabl"
user=> (stemmer "probably")
"probabl"
user=> (stemmer "loved")
"love"
user=> (stemmer "lovely")
"love"
user=> (stemmer "turtles")
"turtl"
user=> (stemmer "turtle")
"turtl"
Distributed under the BSD license.