Re: Custom dictionary not getting used

Kevin Atkinson <[email protected]>
Newsgroups gmane.comp.gnu.aspell.user
Message-ID <[email protected]>
On Tue, 13 Jan 2009, Xiang, Jiayan X wrote:

> Hi, I have some problem to setup aspell to use my custom dictionary.
> Below is what I did:
>
> 1) I created the word list from a text file.
>
> aspell --lang=en create master ./en_XJY < medicalwords.txt
>
> It compiled and created en_XJY and en_XJY.rws files.  I moved them to
> the directory where all the dictionaries are.
>
> 2) Then I modified my pl script (I am using speller page to call aspell)
>
> my $lang = 'en_XJY';
> my $aspell_opts = "-a --lang=$lang --encoding=utf-8";

You need to use "-d" not "--lang".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.