by crabasa · 8y ago · 0 comments
There was a feature of Oracle called SOUNDEX which was magical. Here's an example from their docs page [1]:
SELECT last_name, first_name
FROM hr.employees
WHERE SOUNDEX(last_name)= SOUNDEX('SMYTHE');
This query will return all people with a last name that sounds like 'Smythe', including 'Smith' and 'Smithe'.[1] https://docs.oracle.com/cd/B19306_01/server.102/b14200/funct...
Soundex is very simple but works well, calculating a strings Jaro–Winkler distance also helped.