search for: metaphonefilter

Displaying 1 result from an estimated 1 matches for "metaphonefilter".

2006 Nov 25
5
Metaphone analysis
...39;cool'' and ''kewl'' both become ''KL'' in the double-metaphone algorithm. Indexing dictionary words in this manner is almost essential so that users can find the proper spelling of a word by spelling it how it sounds. The first thing I did was create a MetaphoneFilter class that would run the metaphone algorithm over a token stream. It''s a fairly simple class, but does require the ''Text'' gem be installed. require ''ferret'' require ''text'' module Curtis module Analysis # TODO write tests! class Met...