I wish someone would help a layman like me get pspell working. I've noticed that a phpinfo() now has pspell included in Mitel sme5.6 ('--with-pspell' )
BUT I cannot get it to work:
For example I've tried the pspell_suggest from the manuel:
Untitled
$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] . "
";
}
}
?>
and I get the following error:
Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any suitable word lists for the language-tag "english". in /home/e-smith/files/ibays/five-six/html/checkspell.php on line 5
Warning: 0 is not an PSPELL result index in /home/e-smith/files/ibays/five-six/html/checkspell.php on line 6
Warning: 0 is not an PSPELL result index in /home/e-smith/files/ibays/five-six/html/checkspell.php on line 7
Possible spelling:
maybe mitel could have a english dictionary version working upon a fresh install (maybe they have but I just don't know what I'm doing!)