aspell_suggest
(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.
Example#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";
}
}