[ubuntu-in] importing aspell-hi dictionary into another computer

Dinbandhu dinbandhu at sprynet.com
Mon Apr 6 15:42:36 BST 2009


------Original Message-----
>From: Gora Mohanty <gora at sarai.net>
>Sent: Apr 5, 2009 12:50 PM
>To: ubuntu-in at lists.ubuntu.com
>Subject: Re: [ubuntu-in] importing aspell-hi dictionary into another computer
>
>On Thu, 2 Apr 2009 23:37:03 -0400 (GMT-04:00)
>Dinbandhu <dinbandhu at sprynet.com> wrote:
>
>> I have spent months working on both my aspell-hi personalized
>> dictionary as well as the aspell-hi system-wide dictionary, and
>> now have a fairly extensive dictionary whose vocabulary is
>> specialized for the writing which I do. I am now helping a
>> colleague to set up the same aspell Hindi spell-checker in his
>> computer, and need to install these Hindi dictionaries of mine
>> for use with aspell in his computer.
>[...]
>>                                 So it would seem logical enough
>> that if I want to put my hi.cwl into his computer, then I can
>> just compress it into the hi.cwl.gz format and install it in
>> his computer. Should this work?
>[...]
>
>No, just copying hi.cwl.gz is not going to work, and that
>procedure never has worked, at least not with recent versions
>of aspell. The file that aspell actually uses is in
>/var/lib/aspell/hi.rws on an Ubuntu system.
>
>The procedure to make this work is:
> o Download the aspell Hindi dictionary distribution from
>ftp://ftp.gnu.org/gnu/aspell/dict/hi/aspell6-hi-0.02-0.tar.bz2
> o Unarchive it:
>     tar xjf aspell6-hi-0.02-0.tar.bz2
>     cd aspell6-hi-0.02-0  # All further work from this dir.
> o Replace hi.cwl in the distribution with your hi.cwl.
> o See README for instructions. You have to run the following
>   commands:
>     ./configure  
>     make
>     sudo make install

Wow, this is great information-- thanks! I had really been struggling to get this done, and now with the information you've given it should be straightforward.

Two questions on the above:

1. The aspell Hindi dictionary distribution is also available directly from the repositories via Synaptic in Ubunutu. Is that a different version from the one you refer to above (at the site ftp://ftp.gnu.org/gnu/aspell/dict/hi/aspell6-hi-0.02-0.tar.bz2)?

2. If it is different, then if someone has already installed the version via Synaptic, I guess it would be very important to first do a complete uninstall of that (using Synaptic), and then follow the instructions above.

> o You can now remake the aspell Hindi distribution for use in
>   a different computer, with:
>     make dist

This command is to be done from within the aspell6-hi-0.02-0 directory, right?

>   which will create a aspell6-hi-0.02-0.tar.bz2 distribution
>   package in the current directory. This will contain the new
>   hi.cwl, and saves you the trouble of manually replacing it
>   each time. 

I see-- so once I've created this file, I can email it to my colleagues and when they follow the above directions, they will get an aspell-hi which contains the dictionary I have made.

>   However, please do not redistribute it publicly
>   with the same verion number, and variant name, so as not to
>   cause confusion with the official distribution. If you wish
>   to make your list publicly available, please contact me off-
>   list.

Got it. Thank you very much.

Regards,
Swarup



More information about the ubuntu-in mailing list