aspell-user
[Top][All Lists]
Advanced

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

[Aspell-user] Dictionary Cannot be Opened for Reading


From: rahulr
Subject: [Aspell-user] Dictionary Cannot be Opened for Reading
Date: Wed, 12 Dec 2007 21:38:32 -0800 (PST)

Hi,

I am using aspell for the first time. I created the dll for the aspell. In a
project I am using aspell -

AspellConfig * spell_config = new_aspell_config();
aspell_config_replace(spell_config, "lang", "en_US");

aspell_config_replace(spell_config, "dict-dir", "Dictionaries\\English");

AspellCanHaveError * possible_err = new_aspell_speller(spell_config);

AspellSpeller * spell_checker = 0;
if (aspell_error_number(possible_err) != 0)
    puts(aspell_error_message(possible_err));
else
   spell_checker = to_aspell_speller(possible_err);

On running this code I get the following error message -
The file
"Dictionaries\English/Dictionaries\English/Dictionaries\English/en_US.multi"
can not be opened for reading.

It is able to find the dictionary because If I set dictionary path to a
wrong path -
aspell_config_replace(spell_config, "dict-dir", "Dictionaries\\WrongPath");

then I get different error message -
No Word List can be found for Language "en_US".

I am unable to resolve this problem.

I would really appreciate if anybody can help me on this.

I am runnnig this project on VC++.

Regards,
Rahul Rastogi
-- 
View this message in context: 
http://www.nabble.com/Dictionary-Cannot-be-Opened-for-Reading-tp14310350p14310350.html
Sent from the Gnu - Aspell - User mailing list archive at Nabble.com.





reply via email to

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