doom-emacs/lisp/cli
TEC bbf8934fd3
tweak(cli): use fancier string-dist suggestion alg
To improve the quality of "did you mean?"-style suggestions, shift from
using Ratcliff-Obershelp similarity to the Restricted
Damerau-Levenshtein string distance (also known as Optimal String
Alignment).

This code is a translation of a Julia implementation that I wrote a
while ago:
https://github.com/tecosaur/DataToolkitBase.jl/blob/v0.4.1/src/model/utils.jl#L40-L107

See https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance#Optimal_string_alignment_distance
and https://en.wikipedia.org/wiki/Gestalt_pattern_matching for more
information on these algorithms.
2024-05-21 17:16:46 +02:00
..
make
ci.el
compile.el refactor: s/doom-modules-dirs/doom-module-load-path/ 2024-05-21 17:16:39 +02:00
doctor.el
env.el fix(cli): ensure $EMACSDIR/lisp/cli is in $DOOMPATH 2024-05-21 17:16:43 +02:00
help.el
info.el
install.el
make.el
meta.el tweak(cli): use fancier string-dist suggestion alg 2024-05-21 17:16:46 +02:00
packages.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
profiles.el
run.el
sync.el
test.el
upgrade.el