This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Gee... this sounds surprisingly like homework. I've not heard of that particular algorithm, but from the name "trigram match" it seems like you need to search through a series of text for the occurance of a particular trigram (in other words -- three letters or three words in a row).
Thanks for reading and understanding my post when you where searching for this kind of algorithm. As I told you there are three kind of solutions : the metaphone solution, the ontology solution and the match solution. You've chosen the match solution with a trigram match. At this point you have a question about the implementation of this solution, maybe it is best to understand the trigram match before asking for an implementation. [ October 18, 2004: Message edited by: Arnold Reuser ]