Aspell
aspell_new aspell_check aspell_check_raw aspell_suggest
Description
array aspell_suggest(resource dictionary_link ,string word )
aspell_suggest retourne un tableau contenant les orthographes possibles d'un mot mal formé.
<?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>"; } }?>