(PHP 3>= 3.0.7, PHP 4 >= 4.0.0)
aspell_suggest -- Suggère l'orthographe d'un mot [Obsolète]
Description
array aspell_suggest
(resource dictionary_link, string word)
aspell_suggest() retourne un tableau contenant
les orthographes possibles d'un mot mal formé.
Exemple 1. Exemple avec aspell_suggest() <?php
$aspell_link = aspell_new("french");
if (!aspell_check($aspell_link,"testt")) {
$suggestions=aspell_suggest($aspell_link,"testt");
for($i=0; $i < count($suggestions); $i++) {
echo "Orthographes envisageables : " . $suggestions[$i] . "<br>";
}
}
?> |
|