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

2009-04-07 Thread Dinbandhu
On Sun, 2009-04-05 at 22:20 +0530, Gora Mohanty wrote:
 On Thu, 2 Apr 2009 23:37:03 -0400 (GMT-04:00)
 Dinbandhu dinban...@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

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.

  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?

  Another related question: I notice that after installing
  aspell-hi in my colleague's computer, there are no
  .aspell.hi.prepl and .aspell.hi.pws files in his home
  folder. These used to be the names of the personalized
  dictionaries. Is it now done in a different way? Because I
  would like to install my .aspell.hi.prepl and .aspell.hi.pws
  files in his computer as well.
 
 These are replacement word lists specific to the user, and are
 created only when the user adds personal words to the list in
 the aspell dictionary (usually through some aspell client like
 the gedit spell-checker). You should be able to copy this to
 the home directory of a new user, and have these work, provided
 aspell Hindi is installed and working.

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. Those two files will then
be created in the home directory. If one then copy-pastes the entire
contents of one's own .aspell.hi.prepl and .aspell.hi.pws files in to
those two files created by aspell, then it works perfectly.

Regards,
Swarup 


-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


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

2009-04-07 Thread Gora Mohanty
On Tue, 07 Apr 2009 14:16:02 -0400
Dinbandhu dinban...@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
g...@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

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


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

2009-04-07 Thread Dinbandhu
On Wed, 2009-04-08 at 00:02 +0530, Gora Mohanty wrote:
 On Tue, 07 Apr 2009 14:16:02 -0400
 Dinbandhu dinban...@sprynet.com wrote:
 [...]
 
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
 g...@srijan.in on Gtalk.

I will try to do the install as you described it, using step 3 and then
8. It will be best for me to have the software here with me, as from
time to time I will want to create an updated version. -- If I have
difficulty with the install process, I'll let you know and perhaps we
can work it out at that time using IM, as you have suggested. Many
thanks.

Regards,
Swarup



-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


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

2009-04-06 Thread Dinbandhu
--Original Message-
From: Gora Mohanty g...@sarai.net
Sent: Apr 5, 2009 12:50 PM
To: ubuntu-in@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 dinban...@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

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


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

2009-04-05 Thread Gora Mohanty
On Thu, 2 Apr 2009 23:37:03 -0400 (GMT-04:00)
Dinbandhu dinban...@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
 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. 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.
 
 Another related question: I notice that after installing
 aspell-hi in my colleague's computer, there are no
 .aspell.hi.prepl and .aspell.hi.pws files in his home
 folder. These used to be the names of the personalized
 dictionaries. Is it now done in a different way? Because I
 would like to install my .aspell.hi.prepl and .aspell.hi.pws
 files in his computer as well.

These are replacement word lists specific to the user, and are
created only when the user adds personal words to the list in
the aspell dictionary (usually through some aspell client like
the gedit spell-checker). You should be able to copy this to
the home directory of a new user, and have these work, provided
aspell Hindi is installed and working.

Regards,
Gora

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


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

2009-04-03 Thread Dinbandhu
--I just rejoined the list yesterday, and couldn't tell whether this reached 
the list or not--

Hello All,
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. But it seems that the aspell structure has changed a 
bit since I got mine set up. It used to be that the system-wide Hindi 
dictionary was a file called hi.cwl. One could edit it by decompressing the 
file, opening it in gedit, then saving the changes and recompressing the file 
into the hi.cwl format. But now I find that when one installs aspell-hi in a 
computer today, it is kept in a different format -- hi.cwl.gz. This it seems is 
basically another compression format. 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?

I ask, because I have tried this in one person's computer, and the hindi 
spellchecker stopped working. So I am a bit scared to try it again.

Another related question: I notice that after installing aspell-hi in my 
colleague's computer, there are no .aspell.hi.prepl and .aspell.hi.pws files in 
his home folder. These used to be the names of the personalized dictionaries. 
Is it now done in a different way? Because I would like to install my 
.aspell.hi.prepl and .aspell.hi.pws files in his computer as well.

Thanks!
Regards,
Swarup

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


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

2009-04-03 Thread Manish Sinha (मनीष सिन्ह ा)
Dinbandhu wrote:
 --I just rejoined the list yesterday, and couldn't tell whether this reached 
 the list or not--

   
It did reach the list. If you are not sure, you can enable mail 
acknowledgments from your settings or check here
https://lists.ubuntu.com/archives/ubuntu-in/2009-April/thread.html

I dont have much idea about this topic, wait for other people who have 
idea on this topic to reply.

-- 
Manish Sinha

Blog [ http://blog.manishsinha.net/ ]
Tech Blog [ http://manishtech.wordpress.com/ ]
Twitter [ http://twitter.com/ManishSinha ]

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


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

2009-04-03 Thread Dinbandhu
On Fri, 2009-04-03 at 22:34 +0530, Manish Sinha (मनीष सिन्हा) wrote:
 Dinbandhu wrote:
  --I just rejoined the list yesterday, and couldn't tell whether this 
  reached the list or not--
 

 It did reach the list. If you are not sure, you can enable mail 
 acknowledgments from your settings or check here
 https://lists.ubuntu.com/archives/ubuntu-in/2009-April/thread.html
 
 I dont have much idea about this topic, wait for other people who have 
 idea on this topic to reply.

Thank you for your kind reply and information.

I do not know whether Gora Mohanty is still a member of this list, or
whether his email address has perhaps changed. He is perhaps the most
knowledgeable person with regard to the aspell-hi spellchecker, but for
several months I had been unable to reach him. If anyone has further
information as to how to reach him, kindly let me know.

Since my last letter I have experimented further with the aspell-hi, and
here is what I have found. In my old computer--in which the motherboard
went bad a week ago--the spellchecker was working fine. So now I have
gotten a new computer, and installed the aspell-hi using Synaptic. Upon
installing it, it works fine. That is, those words which it has in its
dictionary it correctly recognizes to be correct, and those words not in
the dictionary it correctly marks with a red line. But the dictionary's
word list has many mistakes in it-- wrongly spelled words that do not
belong, plus many, many missing words and especially verb forms. Over
the course of many months I gradually removed most of the misspelled
words from its system-wide dictionary file, and added many needed words
and verb forms into the personalized dictionary file. There is one
system-wide dictionary file (hi.cwl), and two personal dictionary files
(.aspell.hi.prepl and .aspell.hi.pws). These three files I pasted in the
places where they belong, in my new computer. The hi.cwl file I first
compressed into the form hi.cwl.gz., as that is how it currently appears
in aspell. Once I pasted these three files in their respective places,
the Hindi spellchecker still runs i.e. one can set the spellchecker
language to Hindi, and upon asking it to check a text document it will
do so-- but it underlines ALL the words in red. So the lists are not
working for some reason. This is the critical point about which I need
help.

Thank you,
Swarup


-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


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

2009-04-02 Thread Dinbandhu
Hello All,
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. But it seems that the aspell structure has changed a 
bit since I got mine set up. It used to be that the system-wide Hindi 
dictionary was a file called hi.cwl. One could edit it by decompressing the 
file, opening it in gedit, then saving the changes and recompressing the file 
into the hi.cwl format. But now I find that when one installs aspell-hi in a 
computer today, it is kept in a different format -- hi.cwl.gz. This it seems is 
basically another compression format. 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?

I ask, because I have tried this in one person's computer, and the hindi 
spellchecker stopped working. So I am a bit scared to try it again.

Another related question: I notice that after installing aspell-hi in my 
colleague's computer, there are no .aspell.hi.prepl and .aspell.hi.pws files in 
his home folder. These used to be the names of the personalized dictionaries. 
Is it now done in a different way? Because I would like to install my 
.aspell.hi.prepl and .aspell.hi.pws files in his computer as well.

Thanks!
Regards,
Swarup

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in