(PHP 3>= 3_0_7, PHP 4 <= 4_2_3)
aspell_suggest __ Sugiere la ortografía para una palabra [deprecated]
Descripción
array
aspell_suggest ( int dictionary_link, string word)
aspell_suggest() devuelve una matriz con posibles correciones ortográficas para la palabra dada_
Ejemplo 1_ aspell_suggest $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";
}
} |
|