Levenshtein metric on canonical anchors: d(kitten,sitting) = 3, d(x,x)=0, symmetric

Layer 3 — Biologyin the computational-biology subtree

Sympy/stdlib-exact witness of the Levenshtein metric on the canonical 'kitten' → 'sitting' anchor (Levenshtein 1966 original paper example). Edit sequence: kitten → sitten (sub k→s) → sittin (sub e→i) → sitting (ins g). Minimum edit…

Related concepts

Explore Levenshtein metric on canonical anchors: d(kitten,sitting) = 3, d(x,x)=0, symmetric on the interactive knowledge graph →