aspell_suggest

(PHP 3>= 3.0.7, PHP 4 >= 4.0.0)

aspell_suggest -- Nabφdnout mo╛nΘ hlßskovßnφ slova

Popis

array aspell_suggest ( int dictionary_link, string word)

aspell_suggest() vrßtφ pole mo╛n²ch hlßskovßnφ danΘho slova.

P°φklad 1. aspell_suggest()

$aspell_link=aspell_new ("english");

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

    for ($i=0; $i < count ($suggestions); $i++) {
        echo "Mo╛nΘ hlßskovßnφ: " . $suggestions[$i] . "<br>";
    }
}