aspell-user
[Top][All Lists]
Advanced

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

[Aspell-user] dictionary locations


From: Shawn Riordan
Subject: [Aspell-user] dictionary locations
Date: Sat, 18 Sep 2010 03:03:06 -0700

This is probably a basic question.
But I am stumped.

How does Aspell find it's dictionaries?
I found a link to a list of dictionaries.
(ftp://ftp.gnu.org/gnu/aspell/dict/0index.html)
and grabbed both the 5.0 and 6.0 english dictionaries.
But they gave me no hints about where to unzip them.
So, I put them in my program's debug directory.
But whenever I run my code, I get "No word lists can be found for language "en_US"".

Here is my code:

   AspellConfig *pASCnfg = new_aspell_config();

   aspell_config_replace(pASCnfg, "lang", "en_US");

   AspellCanHaveError *pASCHE = new_aspell_speller(pASCnfg);

   if(aspell_error_number(pASCHE) != 0)
   {
      // this always trips with "No word lists can be found for language "en_US""
      MessageBoxA(NULL,aspell_error_message(pASCHE),"foo",MB_OK);
   }

What am I doing wrong?
Do I need to tell Aspell where to look for the dictionaries?


reply via email to

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