View Single Post
Old 09-23-2015, 01:39 AM   #1
brolny
Connoisseur
brolny began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
Question Does Sigil really work with user's dictionaries?

Accoding to Hunspell to do spell checking we need:
- 1 aff file,
- 1 dic file.
And optionally:
- 1 hyph file,
- up to 20 extra dic files.

But I see, that Sigil adds user's words to IGNORE LIST, and did not use add_dic() function...
Becouse of this rules in aff (and hyph? - I did not find yet info about this) really unused.
User's words just ignored as like as html tags.
So it is not real dictionary, it is just additional ignore list
with sugestion possibility, but it does not change the matter...

PS
From hunspell3.pdf -
"Extra dictionaries
The add_dic() function load an extra dictionary file. The extra dictionaries use the affix file of the allocated Hunspell object. Maximal number of the extra dictionaries is limited in the source code (20)."

By the way, in open office we can select the language of the extra dictionary
and additionally there is a list of words to ignore.
Attached Thumbnails
Click image for larger version

Name:	2.jpg
Views:	362
Size:	242.3 KB
ID:	142224   Click image for larger version

Name:	1.jpg
Views:	367
Size:	218.6 KB
ID:	142226  
Attached Files
File Type: pdf hunspell3.pdf (8.8 KB, 246 views)
File Type: txt SpellCheck.cpp.txt (10.8 KB, 192 views)
brolny is offline   Reply With Quote