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

List:       aspell-user
Subject:    Re: [Aspell-user] RE: confirm 64b881538e187453f5e20c040b7cd5754400dc23
From:       Agustin Martin <agustin.martin () hispalinux ! es>
Date:       2008-10-08 23:20:54
Message-ID: 20081008232054.GA4513 () agmartin ! aq ! upm ! es
[Download RAW message or body]

On Wed, Oct 08, 2008 at 03:16:01PM -0500, Raul da Silva wrote:
> I'm using the dump/expand commands in the format -
> 
> aspell --encoding="UTF-8" -l en dump master | aspell -l en expand | tr '
> ' '\n' > en.txt
> 
> - to dump the English dictionary.  This works fine.  The only problem is
> that it dumps spellings for words in all regions (variants); it dumps GB
> (e.g, colour) and US (e.g., color) spellings.
> 
> How can I dump the dictionary in just US or GB spelling?  I tried -
> 
> aspell --encoding="UTF-8" -l en_GB dump master | aspell -l en_GB expand
> | tr ' ' '\n' > en_GB.txt
> 
> - but it says the language is not known because en_GB.dat is not found.
> There is only an en.dat file that points to all the variants.

Note that non recognized en_GB use is the second one,

$ aspell --encoding="UTF-8" -l en_GB dump master | aspell expand -l en \
  | tr ' ' '\n' > en_GB.txt

seems to work

-- 
Agustin



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

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