Hi, On Tue, 20 Jan 2004, Marcus Frischherz wrote:
> Charles Gregory wrote: > > >I'm starting to see mail with TEXT obfuscation, such as: > > I heard you need viagrPa. > >Note the capital P thrown in to our favorite 'v' word. > >It is really beginning to look like we need a genuine spelling checker, or > >some sort of 'approximation' technology, if such exists. > > But there is: there exists (at least in PHP) a function called > levenshtein, which calculates the similarity between two words. Surely > there must exist a perl equivalent to it. see: > http://at.php.net/manual/en/function.levenshtein.php See http://search.cpan.org/search?query=Levenshtein&mode=all for a number of approximate-match and edit-distance modules. -- Bob ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk