Featured Posts

Web Presense Solution I've officially started up my independent web development side-business. I am hoping to bring quite a few small businesses into the present with a simple, cost-effective package that provides them with...

Readmore

MS SQL date / time conversion I often find myself turning to MSDN to get the possible conversion options on MS SQL's date data type, so I finally became un-lazy and created a little script to use in the future to quickly list all possibilities...

Readmore

jQuery Delay Happy Note: I was contacted by the jQuery team and my code is being added to the core functionality; that really made my day!  You will want to remove the current code from your site if you plan on upgrading...

Readmore

ASP Search Stemmer Class 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",...

Readmore

  • Prev
  • Next

ASP Search Stemmer Class

Posted on : 02-08-2009 | By : chelfers | In : ASP, Web

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

Write a comment