http://aspell.net/metaphone/
This shows that the pspell library uses metaphones already. I don't know how much better the code andoryuusama at gmail dot com.
![]() |
|
||||||||||
|
pspell_suggestDescriptionarray pspell_suggest ( int dictionary_link, string word )pspell_suggest() returns an array of possible spellings for the given word.
pspell_suggest
abhishek dot ratani at gmail dot com
23-Feb-2005 10:14
http://aspell.net/metaphone/
andoryuusama at gmail dot com
30-Dec-2004 01:37
To get a more meaningful "did you mean", I use metaphones on the suggestion list, this helps to insure that the word is one that "sounds" closer to the word spelled wrong.
webmaster at hostpure dot com
12-Apr-2004 05:42
It seems if you are trying to do something similar to the Google 'Did you mean:' suggestions and are selecting the first word given by the pspell_suggest() function, then it will not work well with custom dictionaries and replacements. Take the following code for example: |