Some changes on phonetic encoder