pspell_suggest

(PHP 4 >= 4.0.2)

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");

    for ($i=0; $i < count ($suggestions); $i++) {
        echo "Possible spelling: " . $suggestions[$i] . "<br>"; 
    }
}