Ok. I've installed aspell .33.7.1 and pspell .12.1 with PHP 4.1.2. I downloaded an english dictionary and installed it. My /usr/share/aspell dir looks like this:
ASCII.dat en.dat iso8859-3.dat iso8859-8.map
ASCII.map en_phonet.dat iso8859-3.map iso8859-9.dat
SGML.map english.dat iso8859-4.dat iso8859-9.map
dvorak.kbd english_phonet.dat iso8859-4.map ispell
en-american-aspell.pwli german.dat iso8859-5.dat koi8-f.dat
en-american-med-aspell.pwli iso8859-1.dat iso8859-5.map koi8-r.dat
en-aspell.pwli iso8859-1.map iso8859-6.dat spell
en-british-aspell.pwli iso8859-10.dat iso8859-6.map standard.kbd
en-british-med-aspell.pwli iso8859-10.map iso8859-7.dat unicode.dat
en-canadian-aspell.pwli iso8859-2.dat iso8859-7.map viscii.dat
en-canadian-med-aspell.pwli iso8859-2.map iso8859-8.dat viscii.map
My /usr/local/share/aspell (and pspell) are links to their counterparts in
/usr/share (to keep things tidy) - here is my /usr/share/pspell dir:
cp1252.map iso8859-14.map iso8859-4.map iso8859-8.map viscii.map
iso8859-1.map iso8859-15.map iso8859-5.map iso8859-9.map
iso8859-10.map iso8859-2.map iso8859-6.map koi8-r.map
iso8859-13.map iso8859-3.map iso8859-7.map region-to-spelling.map
Now pspell compiled into php fine with --with-pspell. My problem is this:
Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any
suitable word lists for the language-tag "en". in /home/jstump/public_html/pspell.php
on line 3
Here is the script:
<?
$pspell_link = pspell_new('en');
echo 'foo';
?>
How/where do I put dictionaries? How do I install them? I need help!
--Joe
Joe Stump <[EMAIL PROTECTED]>
------------------------------------------------------------------------
"UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things."
msg00629/pgp00000.pgp
Description: PGP signature
