http://bugzilla.spamassassin.org/show_bug.cgi?id=2978





------- Additional Comments From [EMAIL PROTECTED]  2004-01-28 14:07 -------
It doesn't really look all that good:

NOTE: String::Approx has been designed to work with strings, not with text. In
other words, when you want to compare things like text or source code,
consisting of words or tokens and phrases and sentences, or expressions and
statements, you should probably use some other tool than String::Approx, like
for example the standard UNIX diff(1) tool, or the Algorithm::Diff module from
CPAN, or if you just want the Levenshtein edit distance (explained below), the
Text::Levenshtein module from CPAN. See also Text::WagnerFischer and
Text::PhraseDistance.

Note that my code really does the same thing as String::Approx (computing
Levenshtein edit distance), _but_ with local modifications for spam and
substring matches, which I believe String::Approx cannot do. (I've never seen
the module before now, though, so I don't know.)

/* Steinar */



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to