3 ms·
I'd be really interested in knowing how do they do the phonetic matching. Honestly, the code for that sucks. It just looks for specific variations of letter co
by pavlov 11y ago
I'd be really interested in knowing how do they do the phonetic matching.
Honestly, the code for that sucks. It just looks for specific variations of letter combinations.
I guess a more robust approach would try to build up a real phonetic representation of the word, then apply various languages' orthographic rules to that to check for matches.
- timpark 11y agoI'm no expert on phonetic matching, but a product I worked on many years ago used Soundex. (It's meant for English pronunciation, so you'd have to research other languages) https://en.wikipedia.org/wiki/Soundex https://en.wikipedia.org/wiki/Soundex
- kevin_thibedeau 11y agoSoundex is optimized for collapsing the spelling of names into a common key and isn't so hot for general words. Metaphone would be a more useful matching algorithm. It also preserves a legible spelling so that you can pass the result onto further fuzzy matching stages like an edit distance measure. https://en.wikipedia.org/wiki/Metaphone https://en.wikipedia.org/wiki/Metaphone