7.3 Aspell [Obs.]
7 Index des fonctions
Manuel PHP
. Introduction . Pré-requis . Installation . Voir aussi . aspell_check_raw . aspell_check . aspell_new ->aspell_suggest
|
7.3.8 aspell_suggest()Suggère l'orthographe d'un mot [Obsolète][ Exemples avec aspell_suggest ] PHP 3>= 3.0.7, PHP 4 <= 4.2.3
array
aspell_suggest (
int
dictionary_link
,
string
word
)
aspell_suggest
retourne un tableau contenant
les orthographes possibles d'un mot mal formé.
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>"; } } ?>
|
|