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


_______________________________________________
Aspell-user mailing list
Aspell-user@gnu.org
http://lists.gnu.org/mailman/listinfo/aspell-user

Reply via email to