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

List:       aspell-user
Subject:    [Aspell-user] Creating and using my own dictionary in Aspell
From:       tapas <trs_dreamz () yahoo ! com>
Date:       2004-06-15 8:48:13
Message-ID: 20040615084813.41515.qmail () web40103 ! mail ! yahoo ! com
[Download RAW message or body]

hi,

I am having a problem in creating a new dictionary for
my local version of Aspell.

I did the following steps:

1. Created a new wordlist:
$ aspell --lang en_IN create master ./my-wlist.rws <
WORD-FILE
where, WORD-FILE is my new word file containing just 3
words, to, too and tu

[ Notes: What should be the value for lang option here
? I just mentioned it as en_IN because I'm going to
create a dictionary en_IN.multi. Is it correct ? ]

2. Copied the wordlist (.rws) file to the local lib
directory i.e.
$ cp my-wlist.rws /usr/local/lib/aspell

3. I create a new dictionary in /usr/local/lib/aspell
directory ie. en_IN.multi
en_IN.multi file contains the following lines :
-----------------------
strip-accents true
add my-wlist.rws
-----------------------

4. Now my intention is to run aspell such that it
identifies the normal English words, and also my
dictionary. I tried doing :
$ aspell --add-extra-dicts en_IN.multi -c  TEST-FILE
where, TEST-FILE contains some words to check for.

But I dont get the desired results in the suggestion
list i.e my words in WORD-FILE

When I try doing 
$ aspell --master my-wlist.rws -c TEST-FILE, I get it
correct, i.e. Aspell identifies my 3 words in the
WORD-FILE. But the problem here is it just takes my
words, and not any other words in other dictonary
wordlists! 

Am I missing out with something? Just to re-iterate,
my intention is to use these additional 3 words in
WORD-FILE along with the standard existing dictionary.
I though -add-extra-dicts option served that purpose.

Someone please advise.

Thanks in advance.
~ tapas




	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 



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

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