|
|

|

|

|
pspell_check
|
Updated Sat, 12 Aug 2000
|
readline
|

|

|
(PHP4 CVS only) pspell_suggest -- Suggest spellings of a word Descriptionarray pspell_suggest (int dictionary_link, string word)
Pspell_suggest() returns an array of possible
spellings for the given word.
Example 1. Pspell_suggest()
$pspell_link = pspell_new ("en");
if (!pspell_check ($pspell_link, "testt")) {
$suggestions = pspell_suggest ($pspell_link, "testt");
for ($i=0; $i < count ($suggestions); $i++) {
echo "Possible spelling: " . $suggestions[$i] . "<br>";
}
}
|
|

|

|
pspell_check
|
Updated Sat, 12 Aug 2000
|
readline
|

|

|
|
|