aspell-user
[Top][All Lists]
Advanced

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

Re: Re: [Aspell-user] How to create a wordlist from Aspell for agivenins


From: David
Subject: Re: Re: [Aspell-user] How to create a wordlist from Aspell for agiveninstalled language?
Date: Fri, 28 Apr 2006 00:33:38 -0700 (PDT)

Stephen,
 
Thanks for your explicit e-mail. I am takeing to account your advices in the futures, but now I get the following error:
 
C:\>aspell dump master > wordlist.txt
Error: The file "C:/Aspell/dict/" can not be opened for reading.
C:\>
 
I was checking the path and every think is ok, but I don't know what is going on. Do you have any idea about that?
 
Thanks,
 
David

Stephen Harris <address@hidden> wrote:

----- Original Message -----
From: "David"
To:
Sent: Thursday, April 27, 2006 7:16 AM
Subject: Fwd: Re: [Aspell-user] How to create a wordlist from Aspell for
agiveninstalled language?


>
>
> David wrote: Date: Thu, 27 Apr 2006 07:14:34 -0700
> (PDT)
> From: David
> Subject: Re: [Aspell-user] How to create a wordlist from Aspell for a
> giveninstalled language?
> To: Gary Setter
>
> Dear Gary,
>
> I am trying to what you say:
>
>
> C:\>aspell dump master > wordlist.txt
> Error: The file "C:/Aspell/dict/" can not be opened for reading.
> C:\>
>
> I was looking on the network about this problem, without any success. Do
> you have any idea about this problem?
>
> Anyway I suspect that the syntax:
>
> >aspell dump master > wordlist.txt
>
> it is just for the default english language. I would like to try to use
> for spanish in the following form:
>
> >aspell --lang=es dump master > wordlist.txt
>
> Thanks in advance,
>
> David
>
>

Master is short for master dictionary. If you downloaded the
Spanish dictionary and installed it as your master dictionary
then then aspell dump master > wordlist.txt should dump
Spanish words because those dictionaries are mostly just
lists of words. You can open one up in a text processor
and look at it. I think you are getting English words because
you have an English dictionary as your master. Aspell
can't do translations so where do the English words come
from unless it is from an English dictionary?!

aspell --lang=en create master ./dictionary.local <
space_separated_word_listaspell --lang=es create master ./dictionary.local <
space_separated_word_listYou see the space_separated_word_list will create
an English dictionary if the
wordlist is in English and a Spanish dictionary if the wordlist in in
Spanish.

You might be able to create an English dictionary filled with Spanish words
if you use a Spanish wordlist or a Spanish dictionary filled with English
words
if you used a English wordlist when you created the Spanish master.

Dictionaries are more than just a bunch of words, they have rules.
So adding English words which have no funny marks above the n~
won't create a problem for a Spanish rules dictionary since Spanish
also has a lot of words without those marks over letters. Same with
French. But adding French or Spanish words with accent marks
that English doesn't have will cause a problem because the English
rules don't cover those kinds of words.

Did you try changing the language default to Spanish which should
make a Spanish dictionary the master. aspell dump master > palabras.txt
I'm not sure that will work but it seems easy enough to try.

Adios,
Stephen



Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
reply via email to

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