I am trying to add a new dictionary at the PHPSpellCheck library. But after I add it IT does not use it.
<?php
require "include.php";
$strWholeDict = file_get_contents("maine.txt");
$ArrWholeDict = explode("
",$strWholeDict);
$spellcheckObject = new PHPSpellCheck();
echo $spellcheckObject -> BuildDictionary( $ArrWholeDict );
$mySpell = new SpellCheckButton();
$mySpell->InstallationPath = "/phpspellcheck/";
$mySpell->Fields = "ALL";
echo $mySpell->SpellImageButton();
?>
<html>
<head>
</head>
<body>
<textarea rows ='5' columns='4'></textarea>
</body>
</html>