pspell_suggest
(PHP 4 >= 4.0.2, PHP 5)
pspell_suggest -- 単語のスペルについて修正候補を示す
説明
array
pspell_suggest ( int dictionary_link, string word )
pspell_suggest() は、指定した単語について可能
性のあるスペルの配列を返します。
例 1. pspell_suggest()
$pspell_link = pspell_new ("en");
if (!pspell_check ($pspell_link, "testt")) { $suggestions = pspell_suggest ($pspell_link, "testt");
foreach ($suggestions as $suggestion) { echo "Possible spelling: $suggestion<br>"; } }
|
|