Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any libraries in iOS for identifying phonetically same sound

I am trying to build an iOS application. In one of the screens the user can type something in a search bar and I have to take same action for different spellings of the same word.

For eg: User can type "elephant" or "alephant" or "elefant". I have to take same action for all these three words.

Is there any library that identifies these words as similar ones ? I cannot use spellchecker as I need this in languages other than english also .. I did some research and I found that there are some phonetic algorithms like Text::soundex for achieving this on server side. Wondering if any libraries there for iOS ?

Thanks in advance !!

like image 321
Nishanth Avatar asked Oct 07 '22 02:10

Nishanth


1 Answers

A better alternative to Soundex would be Double Metaphone or, even better, Metaphone 3. You don't say what language you are using, but both of these algorithms are available in C++, C#, and Java

like image 75
lawrence philips Avatar answered Oct 10 '22 02:10

lawrence philips