Message29273
I think the bug is documentation only.
According to the comments (but not the docstring) find_longest_match returns the longest _interesting_ match. A single element appearing too often is likely to cause spurious matches, and is therefore not interesting.
I do agree that this should be noted more prominently, so people don't try things like comparing text strings letter-by-letter (where 1% is far too low a threshhold for a 26-character alphabest).
And yes, the comments on popular are correct -- it ignores elements which constitute *more* than 1%.
I recommend closing this set of tracker items. If you could submit changes to the documentation (docstrings and/or help files; maybe even the comments), I would recommend applying them. |
|
Date |
User |
Action |
Args |
2007-08-23 14:41:33 | admin | link | issue1528074 messages |
2007-08-23 14:41:33 | admin | create | |
|