i want to know how to get correct word from wrong one...
example
The string is "sstring"
开发者_StackOverflow中文版but the correct word is string...
is any algorithm in php?
thanks and advance
The easiest way would be accessing the Google spellchecker API.
There are also local solutions which just require a dictionary file. Googling for 'php spellchecker' will give you tons of possible solutions.
精彩评论