aspell_suggest

(PHP 3>= 3.0.7, PHP 4 <= 4.2.3)

aspell_suggest -- Suggère l'orthographe d'un mot [Obsolète]

Description

array aspell_suggest ( int dictionary_link, string word )

aspell_suggest() retourne un tableau contenant les orthographes possibles d'un mot mal orthographié.

Exemple 1. Exemple avec aspell_suggest()

<?php
$aspell_link
= aspell_new("french");

if (!
aspell_check($aspell_link, "testt")) {
    
$suggestions = aspell_suggest($aspell_link, "testt");
    
    foreach (
$suggestions as $suggestion) {
       echo
"Orthographe envisageable : $suggestion<br />\n";
    }
}

?>