2 http://en.wikipedia.org/wiki/ Metaphone which in turn serves as grouping words of similar sounds (lexical variations) to one code.
most of the schemes are designed for English and European languages and are limited when apply to other family of languages like Urdu.