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).
If that's the case, you can definitely implement this yourself, check out
Regular Expressions Lastly, this isn't an advanced question, so I'm moving it to the intermediate forum. So please post your replies there. Thanks!
[ October 16, 2004: Message edited by: Jessica Sant ]