Why this tool is useful
Use this metric when neighbouring key swaps should count as one likely typing error while repeated edits to the same substring are intentionally restricted.
Measure edits with insertion, deletion, substitution and one adjacent transposition per substring using the explicit OSA variant.
Ready. Your working data stays in this browser.
Use this metric when neighbouring key swaps should count as one likely typing error while repeated edits to the same substring are intentionally restricted.
A bounded dynamic-programming matrix evaluates ordinary edits plus adjacent transpositions and labels the result as optimal string alignment rather than unrestricted Damerau distance.
The reversed neighbours ca and ac have OSA distance 1 because one adjacent transposition connects them.
The calculation is deterministic and explains validation errors instead of silently changing invalid input.
Input and output remain in this tab. Copy and download happen through browser APIs without a server upload.
Every run reports its tool mode, timestamp and input/output size so transformed data can be audited.