pspell_suggest

(PHP 4 >= 4.0.2, PHP 5)

pspell_suggest -- Suggère une orthographe

Description

array pspell_suggest ( int dictionary_link, string word )

pspell_suggest() retourne un tableau de suggestions pour le mot word.

Exemple 1. Exemple avec pspell_suggest()

<?php
$pspell_link
= pspell_new("en");

if (!
pspell_check($pspell_link, "testt")) {
    
$suggestions = pspell_suggest($pspell_link, "testt");

    foreach (
$suggestions as $suggestion) {
        echo
"Orthographes suggérées : $suggestion<br />";
    }
}
?>

Hosting by: Hurra Communications GmbH
Generated: 2007-01-26 18:02:14