4th March 2023 at 6:31pm
Determine the Levenshtein distance between two words:
[[motel]levenshtein[money]]
List the 10 tiddler titles with the smallest Levenstein distance to "TiddlyWiki":
<ul>
<$list filter="[all[tiddlers]!is[system]] :sort:number[levenshtein[TiddlyWiki]] :and[first[10]]">
<li>
<$link /> (<$text text={{{ [all[current]levenshtein[TiddlyWiki]] }}} />)
</li>
</$list>
</ul>
That renders as:
- TiddlyWiki (0)
- TiddlyWiki5 (1)
- TiddlyWeb (3)
- TalkTiddlyWiki (4)
- TiddlyFox (4)
- Tiddlyhost (4)
- TiddlyIE (4)
- TiddlyWiki.mp3 (4)
- TiddlerLinks (5)
- Tiddlers (5)