On Sun, Feb 5, 2012 at 3:42 AM, John Sampson <jrs....@ntlworld.com> wrote: > Hello - > > see http://programmingpraxis.com/2009/09/08/porter-stemming/
Awesome. Ok, I've taken the code there and put it up as a Racket PLaneT package to make it easier to use. For example: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #lang racket/base (require (planet dyoo/porter-stemmer)) (stem "racketeer") (stem "singing") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; When you first run it, it may take a while. Give it a minute or so to install the porter-stemming package off the network and compile it. Subsequent runs should be fast. Here's what I see when I run the program: ############################# kui ~/Downloads $ racket foo.rkt "racket" "sing" ############################# ____________________ Racket Users list: http://lists.racket-lang.org/users