[ubuntu-in] importing aspell-hi dictionary into another computer
Gora Mohanty
gora at sarai.net
Tue Apr 7 19:32:57 BST 2009
On Tue, 07 Apr 2009 14:16:02 -0400
Dinbandhu <dinbandhu at sprynet.com> wrote:
[...]
> I just tried it, and everything works perfectly up to here. If one has
> installed aspell-hi via synaptic, one just has to completely uninstall
> that first. It seems to install itself in a different way if you do it
> through synaptic. But doing it the way you've noted above, it works
> perfectly.
Yes, because you are overriding the default packaging mechanism.
>
> > o You can now remake the aspell Hindi distribution for use in
> > a different computer, with:
> > make dist
> > 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.
>
> This command did not work. Here is my terminal window output when I
> tried it:
>
> :~/aspell6-hi-0.02-0$ make dist
> perl proc
> Can't open perl script "proc": No such file or directory
> make: *** [dist] Error 2
>
> What do I need to do to make this command work?
[...]
Ah, sorry. You need some aspell developer stuff that was already
installed on my computer. You have two options:
o Send me your hi.cwl.gz, and I will make you a distribution.
o Follow the steps in
http://indlinux.org/wiki/index.php/IndicSpellchecker
That write-up is for a new language, and as Hindi should already
exist, all you should need is to get aspell-lang, as described
in step 3, and then 8. After that, things should work.
Do you have an IRC nickname, or Gtalk, or some other IM client that
you use. Things might be quicker to handle there. I am
gora at srijan.in on Gtalk.
> I found that this will not work if one simply pastes
> one's .aspell.hi.prepl and .aspell.hi.pws files in one's home directory.
> One first needs to allow aspell to create these files on its own, by
> opening a gedit text file, typing in hindi with the spellchecker active,
> and adding any word into the hindi dictionary.
[...]
Hmm, OK. I didn't know that, and it is good to know. Probably sets
some aspell flag that a personal user dictionary exists.
Regards,
Gora
More information about the ubuntu-in
mailing list