Soundex Phonetic Code Algorithm Demo for Indian Languages. Supports all indian languages and English. Provides
intra-indic string comparison
Python Soundex API
This service provides indic soundex algorithm based soundex codes for a word
- Method: modules.Soundex.soundex
- arg1 : the word
- Return : The soundex code for the word
- Method: modules.Soundex.compare
- arg1 : first word
- arg2 : second word
- Return : Returns 0 if both strings are same, 1 if strings
sound phonetically same and from same language, 2 if strings are
phonetically same and from different languages.
Returns -1 if strings are not equal.
Sample usage is given below.
>>>print libindic.soundex.soundex("കാര്ത്തിക്")
കAPKKBF0
>>>print libindic.soundex.compare("കാര്ത്തിക്","கார்திக்")
2