Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bryondowd
on Aug 23, 2019
|
parent
|
context
|
favorite
| on:
Levenshtein Distance
Can't think on a real word example, but abc would match bcd in the above algo, as both permute to bc, but they are distance 2. So, any case where one letter is deleted and another is added at a different position.
aripickar
on Aug 23, 2019
|
next
[–]
Boat and Oats is a real world example with Levenshtein distance 2 that would pass through the algo
apendleton
on Aug 23, 2019
|
parent
|
next
[–]
Yeah, that's the crux -- two different real words storing the same variant but having omitted different letters.
developer2
on Aug 27, 2019
|
prev
[–]
Haha, I knew the answer was going to be obvious, and it was so obviously obvious. Thanks for answering. :)
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: