Forum Post
Index > Plugins > Aspell 0.50.2 English Dictionary

Author/Date Aspell 0.50.2 English Dictionary
fReT
04/12/2002 10:30pm
Could some one compile the english dictionary for aspell-0-50-2 and send it to me?

I can't get the thing to make in cygwin.... :(

(Yes I do have a test plugin for aspell, just need a dictionary to test it with)
Johan
13/12/2002 1:44am
http://aspell.net/win32/files/aspell-en-0.50-2.zip
fReT
16/12/2002 10:43pm
Ok, now I have a dictionary to point Aspell to but it doesn't seem to matter what I do, I can't get Aspell past "No word lists can be found for the language 'en'".

My code looks like this:

SpellConfig = new_aspell_config();
if (SpellConfig)
{
    if (NOT aspell_config_replace(SpellConfig, "lang", "en"))
    {
        LgiMsg(0, "Couldn't select language.", AppName, MB_OK);
    }

    if (NOT aspell_config_replace(    SpellConfig,
                                    "dict-dir",
                                    // "//d/home/Lgi/Scribe/Scribe_Spell/Dictionary"))
                                    "d:\\home\\Lgi\\Scribe\\Scribe_Spell\\Dictionary\\en"))
    {
        LgiMsg(0, "Couldn't set dictionary path.", AppName, MB_OK);
    }
}


Which executes fine...

But then later:
AspellCanHaveError *PossibleErr = new_aspell_speller(SpellConfig);
AspellSpeller *SpellChecker = 0;

if (aspell_error_number(PossibleErr) != 0)
{
    LgiMsg(Parent, (char*)aspell_error_message(PossibleErr), AppName);
}
else
{
    SpellChecker = to_aspell_speller(PossibleErr);
}

if (SpellChecker)
{
    int correct = aspell_speller_check(SpellChecker, "empty", 5);
    int stop = 1;
}

Falls over with an error message.
fReT
23/12/2002 2:19am
Don't worry... it's working now.
Johan
23/12/2002 6:58am
Okay, I've tried the plugin. With v1.84, I get: "procedure entry point ?OnHitTest@GList@@UAEHHH@Z could not be located in the dynamic link library Lgi.dll", when trying to load the plugin. With v1.85, which crashes every second time I start it up, I can't even click on the add button, it crashes immediately.

I have the LDAP plugin loaded as well. The Aspell route is definitely a good choice. I would really like to see it work and I will assist in any debugging where I can.
fReT
23/12/2002 7:49am
The plugin will only works with the latest test of v1.85 (test9), as it links against the current build of LGI.DLL, is this what your running?

Mostly this is the case, only the latest versions of stuff work with each other. Other than the SSL plugin that I'm trialing a new less fragile way of doing things.
Johan
27/12/2002 2:56am
Yes. I've reverted back to v1.84 though. Test 9 was the one crashing every now and again.
Reply