<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head><body text="#000000" bgcolor="#FFFFFF"><div dir="auto">Inline...<br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->~Goan by Birth, Upbringing of Maharashtra, Punekar in Arguments.!<!-- tmjah_g_1299e --><br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Sent from 10.or Device using BlueMail<!-- tmjah_g_1299e --><br></div>
<div class="gmail_quote" >On 1 May 2019, at 8:57 PM, Swarup <<a href="mailto:dinbandhu@sprynet.com" target="_blank">dinbandhu@sprynet.com</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have installed Ubuntu 18.04; although Aspell is installed and
I have installed the Hindi dictionary, but I need to install my
personal word list into the dictionary. I have my custom file
hi.cwl, but I am not certain where to install it.<br>
<br>
I wanted to try to figure things out myself as far as possible,
and I found what I thought might be the correct location:
/usr/share/aspell/hi.cwl.gz<br>
<br>
So I tried removing the file hi.cwl.gz from there, and replacing
it with my hi.cwl.gz. I have rebooted the computer, started the
spellchecker in Gedit, and opened a Hindi file and spellchecked it.
I have also converted an instance of my custom hi.cwl to its hi.wl
form, opened it in Gedit, and compared the words to those underlined
in red in my test hindi document. There are lots of words in the
hi.wl file which are underlined in red in the test document, proving
that the hi.cwl.gz file which I have installed is not working in the
spellchecker. I do not know what hi.cwl the Aspell program is using,
but it is not using the hi.cwl.gz file which I installed.<br>
<br>
I will also add that in my home folder, there is a folder
/home/swarup/.config/enchant, and in this enchant folder there are
number of dictionary files including these two:<br>
<br>
/home/swarup/.config/enchant/en_US.dic<br>
/home/swarup/.config/enchant/hi.dic<br>
<br>
I know for a fact that the Gedit spellchecker uses </blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Oftentimes what we know gets outdated as developers across the world make progress :-)</blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">these, as
they correspond with the words underlined and not underlined in my
test document when I select spell checker language as English or as
Hindi. And it was like this in my Ubuntu 14.04 LTS installation as
well. But it used to use my hi.cwl file as well. I used to regularly
open the hi.cwl file as an hi.wl and add words to it, and it worked
fine. And when I would be working in a Gedit file and come across a
single red underlined word and click on the spellchecker option to
add it to the dictionary, then it would add it to
/home/swarup/.config/enchant/hi.dic. In that way, I have 11,000
words in this file. But I also have 90,000 words in my hi.cwl file,
and so the functionality of this file is also vital to the spell
checker.<br>
<br>Has this/similar problem been faced by users of other Linux distributions? That may give you clues about how to proceed with debugging your situation...<br><br><br>
Kindly let me know how to move ahead so as to get the hi.cwl
file working. Do you think it may need to do cd to the folder and
execute the commands ./configure, make, sudo make install? That is
what I always used to have to do to get updated instances of my
hi.cwl file active in Aspell in Ubuntu 14.04 as well as previous
installations of Ubuntu. In those days though it was hi.cwl which
was installed and not hi.cwl.gz; don't know what impact this has on
what is needed to activate the hi.cwl file.
<pre class="blue"><hr><br>plug-mail mailing list<br>plug-mail@plug.org.in<br><a href="http://list.plug.org.in/listinfo/plug-mail">http://list.plug.org.in/listinfo/plug-mail</a><br></pre></blockquote></div></body></html>