<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 5/1/19 9:35 PM, Skool!lookS•InkarNatioN wrote:<br>
<blockquote type="cite"
cite="mid:b104b6e4-f885-4afe-89a4-4d880724edb7@guruvision.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">Can you see if you are able to create new personal
dictionary before making more changes?<br>
<br>
</div>
<div dir="auto">What does happen in that case? Where do those new
words get saved?<br>
</div>
</blockquote>
<br>
Thanks for the suggestion. There is already a functioning personal
dictionary; its location is:<br>
<br>
/home/swarup/.config/enchant/hi.dic. <br>
<br>
The personal dictionary is working fine. If for example while
working in a Hindi text file I select a red underlined word and opt
to to add it to the personal dictionary, it gets added here in this
above listed file. (I described this in my original mail.)<br>
<br>
Now, I need to be able to update the system wide Hindi word list; I
need to replace the existing Aspell Hindi word list with my word
list. In Ubuntu 18.04 I am unsure of how to implement this task. I
do not think there is any defect in the software, just need to know
the proper pathway for implementing the task. Full details in my
original message (below).<br>
<br>
<br>
<blockquote type="cite"
cite="mid:b104b6e4-f885-4afe-89a4-4d880724edb7@guruvision.com">
<div class="gmail_quote">On 1 May 2019, at 8:57 PM, Swarup <<a
href="mailto:dinbandhu@sprynet.com" target="_blank"
moz-do-not-send="true">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 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>
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>
</pre>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>