Featured Post

Evony.com

With my life being a tab bit busier now I have almost reduced myself to zero-game time. Thankfully browser games are still a big hit with the gaming community and require only a few minutes each day to play and actually be successful. I believe I have finally reached a point where I can stop torturing...

Read More

ASP Search Stemmer Class

Posted by chelfers | Posted in ASP, Web | Posted on 02-08-2009

Tags: , , ,

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