I have constructed an algorithm to transliterate from English to multiple languages, Since we should show them appropriate suggestion for the words they have entered, I have made logic to search in that language dictionary.
Logic I have implemented to search in that language dictionary :
- Difference in the last typed vowel and find the words. { Ex : re — > r* }
- Replacing all the vowels in all possible combinations . { Ex : test — > [ tAst*, tEst*, tIst*, tOst*, tUst* ] }
- Least Distance possible words from dictionary. ( Levenshtein Distance algorithm )
- Finding phonetically similar words in dictionary. { Ex : tast —> [ tEst*, tEAst*, .. ] }
- Stressing the consonants between vowels and searching in dictionary. { Ex : posible —> [ poSSible* ] }
Is there any standard Algorithms to implement Transliteration and Transliteration suggestions for the above logic ?