(PHP4 CVS only)
array pspell_suggest (int dictionary_link, string word)
array pspell_suggest
pspell_suggest() は、指定した単語について可能 性のあるスペルの配列を返します。
例 1. pspell_suggest()
$pspell_link = pspell_new ("english"); 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>"; } }