Hacker News new | ask | show | jobs
by irrational 3522 days ago
racial or radical?
2 comments

You'd have to think "radical", since that's what naturally opposes the later use of "moderate".
Both of those words have Levenshtein distance 1 from what GP wrote.

Maybe let's give them the benefit of the doubt and assume they meant the one that doesn't sound like a type-error/makes sense and avoids outrageousness?

Raical has a Levenshtein distance of 2 from racial. Swapping two characters is a deletion + insertion. You'd need to use Damerau-Levenshtein distance for transposition to count as 1 operation.

https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_di...

Thank you for correcting me, now I know! :)
But isn't the outrage what keeps the Internet from collapsing in upon itself like a balloon full of hot air? ;-)