Sameer Borate's Blog: Porter Stemming algorithm for search

Courtesy PHPDeveloper.org  Wed, 04/29/2009 - 06:57

In a recent post to his blog Sameer looks at implementing a Stemming algorithm to search an array of words.

It uses this library (as written by Richard Heyes).

A stemming algorithm lets you reduce each English input word to its basic root or stem (e.g.

'walking' to 'walk') so that variations on a word ('walks', 'walked', 'walking') are considered equivalent when searching.

This stems can than be used in a search query rather than the...


 

More related items

Sameer Borate's Blog: Simulating Packages in PHP
Sameer Borate has a new post to his blog looking at the idea of simulating the idea of packages that several other languages have (like Java) with similar functionality to use them. Most...

Sameer Borate's Blog: Visualizing application...
Recently on his blog Sameer has posted a "first look" at the recently released nWire extension for Eclipse-based IDEs. Due to various complex PHP applications being developed - like...

Sameer Borate's Blog: Detecting user agents in PHP
In a new post to his blog today Sameer looks at a trick or two about detecting the type of browser/client a visitor is using to view your website - one method with the superglobal and...

Linksys WRT610N Simultaneous Dual-N Band Wireless...
The sleek Simultaneous Dual-N Band WRT610N Router sets a new standard for design, expanded bandwidth, and robust performance. It's the ideal router for all your current and future digital...

1 GB SanDisk MicroSD TransFlash Memory Card (Bulk)
The MicroSD card is based on TransFlash, which was developed by SanDisk in cooperation with Motorola and is the worlds smalles flash memory card form factor.


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com