[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Aspell-user] Using aspell programmatically
From: |
Kevin Atkinson |
Subject: |
Re: [Aspell-user] Using aspell programmatically |
Date: |
Tue, 4 May 2010 05:51:11 -0600 (MDT) |
User-agent: |
Alpine 2.00 (BSF 1167 2008-08-23) |
On Tue, 4 May 2010, John P. Hartmann wrote:
I wish to use aspell in one of my own applications. I can loop up words and
get spelling corrections through the C API, but word list management has me
stumped.
I have (from a mainframe application) list of words that should be
considered valid in the context of specific files/applications/users.
So I tried to generate a personal word list:
j /home/john/aspell: aspell create personal < john.add
Sorry "create/merge personal" is currently unimplemented.
You can easily create one manually. The personal dict. is just a wordlist
with a header line. You probably want to use:
personal_ws-1.1 en 0
as the header.
j /home/john/aspell: aspell create master < john.add
Error: The language "en_GB" is not known. This is probably because: the file
"/usr/local/lib/aspell-0.60/en_GB.dat" can not be opened for reading.
You need to provide a dictionary name. Also the language needs to be
specified as "en". en_GB is technical not a language but a dictionary
name, but it works when specified as a language in most cases (excluding
this one of course).
My configuration file:
dict-dir /usr/lib/aspell-0.60
lang en_GB
home-dir ~/aspell
personal pwl
The last two lines are out of desperation more than knowledge.
Get rid of them, they are unnecessary and the last one is nonsense.
- [Aspell-user] Using aspell programmatically, John P. Hartmann, 2010/05/04
- Re: [Aspell-user] Using aspell programmatically,
Kevin Atkinson <=
- Message not available
- [Aspell-user] Using aspell programmatically, John P. Hartmann, 2010/05/04
- Re: [Aspell-user] Using aspell programmatically, Kevin Atkinson, 2010/05/04
- Re: [Aspell-user] Using aspell programmatically, John P. Hartmann, 2010/05/05
- Re: [Aspell-user] Using aspell programmatically, Kevin Atkinson, 2010/05/05
- Re: [Aspell-user] Using aspell programmatically, John P. Hartmann, 2010/05/06
- Re: [Aspell-user] Using aspell programmatically, Kevin Atkinson, 2010/05/07
- Message not available
- [Aspell-user] Using aspell programmatically, John P. Hartmann, 2010/05/08
- Re: [Aspell-user] Using aspell programmatically, Kevin Atkinson, 2010/05/08
- Re: [Aspell-user] Using aspell programmatically, John P. Hartmann, 2010/05/10
- Re: [Aspell-user] Using aspell programmatically, Ciarán Ó Duibhín, 2010/05/06