note 53943 added to function.pspell-config-personal
| From: | JonathanBoswell at osu1 dot php dot net | Date: | Fri, 17 Jun 2005 20:45:12 +0000 |
| Subject: | note 53943 added to function.pspell-config-personal | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90600@lists.php.net to get a copy of this message | ||
If you have trouble getting the personal dictionary to load, make sure your dictionary is at the
Document root level. Sub folder dictionary files seem to have an issue loading.
<?php
$file = $_SERVER["DOCUMENT_ROOT"] . "/test/personal_dictionary.txt"; //Has
issues loading
$file = $_SERVER["DOCUMENT_ROOT"] . "/personal_dictionary.txt"; //Loads
correctly
$pspell_config = pspell_config_create("en");
pspell_config_personal($pspell_config,$file);
$pspell_link = pspell_new_config($pspell_config);
?>
----
Manual Page -- http://www.php.net/manual/en/function.pspell-config-personal.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53943
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53943&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53943&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53943&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53943&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+53943&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53943&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53943&report=yes
Search -- http://master.php.net/manage/user-notes.php