[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    Re: [Aspell-user] Selecting dictionary with the C interface
From:       Kevin Atkinson <kevina () gnu ! org>
Date:       2002-08-28 1:25:13
Message-ID: Pine.LNX.4.44.0208272119410.2195-100000 () kevin-pc ! atkinson ! dhs ! org
[Download RAW message or body]

On Tue, 27 Aug 2002, Bill Moseley wrote:

> At 02:23 AM 08/27/02 -0400, Kevin Atkinson wrote:

> >files ending is .awli (renamed from .pwli) are still recognized but the
> >dictionaries distributed with Aspell no longer use them.  Instead Aspell
> >recognizes the dictionaries directly based on the way they are named.
> 
> Oh, I didn't catch that change.
> 
> The docs still say .pwli:
> 
>   Each AWLI has the the following name: 
> 
>      «language»[_«region>][-«jargon»][-«size»]-«module».pwli

Oops.  It is now fixed.  Sorry.

> But, now after checking I see that it's not using my .pwli file.

FYI There are actually several problems with this.

> See, with .33 I was doing something like this:
> 
>    aspell --lang=english create master ./dict < word_list

1) The language name is now "en" english may still work but only if there 
is an old data file still around.

> Then adding the full path to ./dict in a file named:
> 
>    en-american-test-aspell.pwli

2) Now .awli

> And then setting:
> 
>     'add-word-list-path'=> './',
>     'language-tag'      => 'en',

3) Even though language-tag is still supported the perfered option to use 
is just "lang".

>     'spelling'          => 'american',

4) The spelling tag is now longer used.  It wasn't being used in the 
latest version of Pspell also.  Instead use en_US ad the language-tag

>     'jargon'            => 'test',
> 
> That no longer works with 0.50.x.  Now I just set master and all is well.

--- 
http://kevin.atkinson.dhs.org




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic