(PHP4 CVS only)
array pspell_suggest (int dictionary_link, string word)
array pspell_suggest
Pspell_suggest() returns an array of possible spellings for the given word.
Example 1. Pspell_suggest()
$pspell_link = pspell_new ("en"); if (!pspell_check ($pspell_link, "testt")) { $suggestions = pspell_suggest ($pspell_link, "testt"); for ($i=0; $i < count ($suggestions); $i++) { echo "Possible spelling: " . $suggestions[$i] . "<br>"; } }