aspell-user
[Top][All Lists]
Advanced

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

Re: [Aspell-user] Using aspell programmatically


From: John P. Hartmann
Subject: Re: [Aspell-user] Using aspell programmatically
Date: Thu, 6 May 2010 08:42:28 +0200

On 6 May 2010 00:26, Kevin Atkinson <address@hidden> wrote:
> Basically, if you really want it in there, there are ways to get around
> this.

I do; how, please?

> I fail to see where Aspell is getting /home/john/aspell/private.  If it is a
> config variable remove it for now and use
>  aspell list -d ./private
> If that doesn't work you might need to rename the dict. to private.rws

With this config:

dict-dir /home/john/aspell/dicts
data-dir /home/john/aspell/data/aspell5-en-6.0-0
lang en_GB
home-dir /home/john/aspell
personal private.rws

I get:

j /home/john/aspell: mv private private.rws
j /home/john/aspell: aspell list -d ./private.rws
<hangs, does not loop>

Commenting out personal in the config file:

j /home/john/aspell: aspell list -d ./private.rws
Error: The file "/home/john/aspell/private.rws" is not in the proper format.

Regenerating the directory using ./private.rws makes no difference in behaviour.

I then regenerated the directory without the hyphenated word and now
it hangs when I comment out personal in the config file and issues the
message when the line is active.

---

About pushing/popping private word lists:

const struct AspellWordList * aspell_speller_personal_word_list(struct
AspellSpeller * ths);

Gets me the word list, which has a string enumeration member.  I
suppose that is what needs to be cloned/restored.  Except there is no
C API functions that look like doing the job.  Any suggestions?

Thanks,

   j.




reply via email to

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