aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Aspell-user] Windows Reliability


From: Christoph Hintermüller
Subject: Re: [Aspell-user] Windows Reliability
Date: Sun, 16 Jan 2005 18:51:04 +0100
User-agent: KMail/1.6.2

Hi Stewart
Am Sonntag, 16. Januar 2005 16:08 schrieb Stewart Whiting:
> Hi,
> I have managed to install Aspell, the Aspell English dictionary
> (latest versions) and get the PHP module working on my Windows Server
> 2003 (Standard) machine with IIS6 and PHP4.3.10 (running as
> ISAPI)...However Aspell seems really unreliable. One minute it will
> work fine, the next it breaks with the error: Warning: PSPELL couldn't
> open the dictionary. reason: No word lists can be found for the
> language "en". in W:\Webmail\spelling.php on line 2 It will then start
> working and then break and so on...
Are you sure you have installed latest aspell version beeing 0.60 and not 
0.33? The big difference is that from version 0.50 on aspell doesn't need 
pspell any more. Further are you sure you have installed the dictionaries for 
<= 0.33 and not by accident one for >= 0.50. 

Another thing is for aspell afaik there exists only a port for 0.5X versions. 
The one for 0.6X versions is not yet finished if i didn't miss anything. But 
Ask Gary Setter on devel mailing list for more.
> 
> I am using this script for testing:
> <?php
> $pspell_link = pspell_new("en");
> 
For php afaik there exists only a binding for pspell based <= 0.33 verisons.
Thus you have to get the proper version from the old aspell pspell link on 
aspell.net.
> if (pspell_check($pspell_link, "testt")) {
>    echo "This is a valid spelling";
> } else {
>    echo "Sorry, wrong spelling<br />";
>    $suggestions = pspell_suggest($pspell_link, "testt");
> 
>    foreach ($suggestions as $suggestion) {
>        echo "Possible spelling: $suggestion<br />";
>    }
> }
> 
> ?>
> 
If the old versions of aspell ( <= 0.33 ) do not solve your problem than i'd 
sugest that you rather ask the php guys doing the aspell binding for help.
Before you could test if the same error occurs if you open a DOS box and use 
aspell to check a little test file you prepared.
> When I was testing and trying to get it working I used DiskMon
> (http://www.sysinternals.com/ntw2k/freeware/diskmon.shtml) to view the
> IO and it appears the Aspell looks for quite a few files that aren't
> there (but appears to find them later in another folder) and does a
> bunch of invalid requests to files using "C:\C:\Program
> Files\Aspell..." as the path.
Have you ever check aspell config file ususally suite in the aspell config 
dir ?

cu
Xris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]