note 109925 added to enchant.examples
| From: | robert dot johnson at icap dot com | Date: | Mon, 03 Sep 2012 12:49:28 +0000 |
| Subject: | note 109925 added to enchant.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-190453@lists.php.net to get a copy of this message | ||
Here is help for Windows users:
You need to add dictionaries to your computer for Enchant.
1. Enchant looks in your registry keys, I don't know what keys it wants, but it looks here - I
ignored all of these:
* Default User\Software\Enchant\Config
* Default User\Software\Enchant\Ispell
* Default User\Software\Enchant\Myspell
2. It looks for OpenOffice dictionaries (from the registry settings for OpenOffice)
3. It looks in folder [PHP]\share\myspell\dicts
I got it working by copying the en-us dictionary files from Firefox into \share\myspell\dicts, and
renaming them en_US.*. You can download and install dictionaries from OpenOffice from here I think:
http://extensions.services.openoffice.org/dictionary
Enchant creates and writes to the following folder, so you must allow PHP read and write permissions
to: [SYSTEM32]\config\systemprofile\Application Data\enchant
It would be convenient if Enchant could accept parameters to specify the location of the main
dictionaries and user-dictionaries, I suppose the registry keys are the only way to do it.
----
Server IP: 69.147.83.197
Probable Submitter: 80.254.146.140
----
Manual Page -- http://www.php.net/manual/en/enchant.examples.php
Edit -- https://master.php.net/note/edit/109925
Del: integrated -- https://master.php.net/note/delete/109925/integrated
Del: useless -- https://master.php.net/note/delete/109925/useless
Del: bad code -- https://master.php.net/note/delete/109925/bad+code
Del: spam -- https://master.php.net/note/delete/109925/spam
Del: non-english -- https://master.php.net/note/delete/109925/non-english
Del: in docs -- https://master.php.net/note/delete/109925/in+docs
Del: other reasons-- https://master.php.net/note/delete/109925
Reject -- https://master.php.net/note/reject/109925
Search -- https://master.php.net/manage/user-notes.php