hello,
I m trying to install aspell & pspell but i m not able to get success in it. although it looks pretty simple to install but it is not working with php.
the details as as under: can some one help me in fixing this error
This is something that I have followed to install ASPELL & PSPELL
Environment:
1. OS: LINUX
2. Apache 2.0.54
3. pspell-.12.2
4. aspell-0.60.3
5. aspell6-en-6.0-0 (Dictionary)
6. PHP 5.0.5
Installation Process: (Process-I)
First, in pspell directory:
./configure
make
make install
Then, in aspell directory
./configure
Make
make install
Finally, go back to pspell directory and do
cd modules
./add-modules
cd ..
make
make install
in dictionary folder
./configure
make
make install
Installation Process: (Process-II)
into the pspell-.12.2 directory
./configure
make
make install
cd modules
./add-modules
cd ..
make
make install
Second we have to install Aspell:
Get into the aspell directory
./configure
make
make install
Get into the aspell dictionary directory
./configure
make
make install
Also changed the ./configure –prefix=/usr/local/aspell. For both aspell & pspell
It worked fine with command line
aspell check <file name>
Where file name is the file with wrong spellings.
PHP compiled successfully with –with-pspell.
PHP SAYS:
Warning: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".".
Tried the following spllers:
http://www.broken-notebook.com/spell_checker/ (not working)
http://me.eae.net/ (not working)
http://sourceforge.net/projects/sphpell/ (not working)
http://www.netjs.com/speller/
(working: because it uses shell_exec(). As I have mentioned above it works from command line)
Following are the references:
http://www.oblius.com/?.blogs.184
http://us2.php.net/pspell
http://www.zend.com/lists/php-dev/200107/msg00634.html
Sajid