Text completion: Difference between revisions

Content added Content deleted
(→‎{{header|Raku}}: Add an alternate using Sorenson-Dice bigrams)
m (→‎Sorenson-Dice: add missing suffix)
Line 545: Line 545:


===Sorenson-Dice===
===Sorenson-Dice===
Sorenson-Dice tends to return relatively low percentages even for small differences, especially for short words. We need to "lower the bar" to get any results at all. Different variations of the algorithm do or don't regular case. This one does, though it doesn't much matter for the tested words.
Sorenson-Dice tends to return relatively low percentages even for small differences, especially for short words. We need to "lower the bar" to get any results at all. Different variations of the algorithm do or don't regularize case. This one does, though it doesn't much matter for the tested words.


Using unixdict.txt from www.puzzlers.org
Using unixdict.txt from www.puzzlers.org