Forum und email

aspell_suggest

(PHP 4 <= 4.2.3)

aspell_suggest — 추천 단어를 제시한다 [deprecated]

Description

array aspell_suggest ( int $dictionary_link , string $word )

aspell_suggest()는 주어진 단어에 대한 추천 단어들의 배열을 반환한다.

Example#1 aspell_suggest()

<?php

$aspell_link 
aspell_new("english");

if (!
aspell_check($aspell_link"test")) {
    
$suggestions aspell_suggest($aspell_link"test");

    foreach (
$suggestions as $suggestion) {
        echo 
"Possible spelling: $suggestion<br>\n"
    }
}

?>