ASP Search Stemmer Class
Posted by chelfers | Posted in ASP, Web | Posted on 02-08-2009
Tags: searching, stemmer, stemming, word bases
0
The original stemmer class was developed by Martin Porter to bring words back to their word stems. For example "abilities" would stem to "able", "smelling" to "smell", "I'm awesome" to "damn straight", etc.
I couldn't find a Classic ASP version of this so I ported a port ( I'm not even sure if that's legal! ).
example usage
set Search = new Stemmer tmp_string = Search.Stem( "abilities" ) response.write tmp_string set Search = nothing
This should produce an echo of "able". Below is a dictionary list of words you can test the class out with, let me know if you find any bugs or issues.
Download ASP Stemmer 1.0.0
Download Dictionary File

