![]() |
#1 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 248528
Join Date: Jan 2016
Device: none
|
![]()
Hello,
Using the default settings, no wordlist is displayed when trying to spellcheck an EPUB file (in French, and in Sigil 2.3.0 FWIW.) What do I need to do to enable this feature? Thank you. -- Edit: It might not be enough, but content.opf's metadata header contains "<dc:language>fr-FR</dc:language>". -- Edit: The "hunspell_dictionaries" sub-dir is empty. Does it mean Sigil doesn't ship with dictionaries, and the user must fetch them from somewhere and install them manually? Last edited by Shohreh; 09-07-2024 at 09:25 AM. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,085
Karma: 5450184
Join Date: Nov 2009
Device: many
|
In Preferences for Spellcheck dictionaries you have selected the French dictionary (not French - France) but in the OPF dc-language metadata you have put fr-FR (which means the french language specific to France)
So the easiest solution is to change the OPF dc:language tag to be just fr so you can use the dictionary you already have installed. You can do that in CodeView by hand editing the OPF, or use Sigil's Metadata Editor so no hand opf editing is required. Or go find a specific fr-FR dictionary from hunspell and install it locally. Last edited by KevinH; 09-07-2024 at 08:35 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,870
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,870
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The empty hunspell_dictionaries folder is where a user can install custom hunspell dictionaries (in addition to the ones Sigil ships with).
|
![]() |
![]() |
![]() |
#5 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 248528
Join Date: Jan 2016
Device: none
|
After editing the meta through F8, CTRL+ALT+Q does display a list of words
![]() However, even after saving and restarting Sigil, when hitting F4 to jump to the next underlined word, Sigil displays no wordlist in place. Or maybe it's not the way it's supposed to work, à la LibreOffice Writer? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,085
Karma: 5450184
Join Date: Nov 2009
Device: many
|
Huh? You should really read the Sigil User Guide chapter on Spellcheck. You will see there are two different modes of spellchecking. The first is real-time as you type red squiggle underline marking of unknown words. You can right click on any underlined words and if there are suggested replacements you can select them.
The second mode to use the Spellcheck Dialog Tool. You can launch it via the menus or hit the icon with checkmark and ABC on it). It will generate a sortable list of unknown words. You can select any word, get suggestions, choose to ignore it, etc. It can nicely navigate you to where the potential incorrect word is found so you can see it in context. Last edited by KevinH; 09-07-2024 at 09:12 AM. |
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,085
Karma: 5450184
Join Date: Nov 2009
Device: many
|
And the wordlist is where you can put language specific words that are spelled correctly but are not in the hunspell dictionary. You can name and save these lists to keep them for the future. These wordlists can contain properly spelled book specific words such as proper names, spelling variants you prefer, or technical jargon with latin-terms that are not suited for a general purpose dictionary.
For general fiction spellchecking, I create a wordlist with all the book specific proper names in the book so they can be used later if a book series is being edited. |
![]() |
![]() |
![]() |
#8 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 248528
Join Date: Jan 2016
Device: none
|
I expected a drop-down list to be displayed below the offending word when hitting F4.
I'll check if there's a keyboard shortcut or I can add one to avoid shuffling from the keyboard and the mouse back and forth. Thanks evyerone. |
![]() |
![]() |
![]() |
#9 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,085
Karma: 5450184
Join Date: Nov 2009
Device: many
|
I have no idea what shortcuts you have assigned to what. So saying things like F4 means nothing to me so I can not follow what you are asking about. Please be specific and name the menu item or icon you are using and what spellcheck mode you are in.
|
![]() |
![]() |
![]() |
#10 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,085
Karma: 5450184
Join Date: Nov 2009
Device: many
|
And based on your description from what I can guess, you are using the red squiggle approach in real time spellchecking mode. That is best used when typing in text.
A better tool is to use when spellchecking an entire document is the Spellcheck Dialog tool mode to get a complete list of all the misspelled words. Youy can sort them as you like. Double-click them to show the context in CV, get a longer list of suggestions, add words to the wordlist, etc. |
![]() |
![]() |
![]() |
#11 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 248528
Join Date: Jan 2016
Device: none
|
I haven't changed the keyboard shorcuts, they're all default. F4 = Tools > Spellcheck > Next Misspelled Word
I don't find the Spellcheck Dialog as useful because it doesn't show the context. If the red squiggle > right-click pop-up menu could be opened through a keyboard shortcut in addition to a right-click on the mouse, it could then be assigned to a keyboard shorcut (right ALT/CTRL+4 to match?) |
![]() |
![]() |
![]() |
#12 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,085
Karma: 5450184
Join Date: Nov 2009
Device: many
|
You just double click in the word in the WordList and CV will be moved to show you the word in context. It nicely handles multiple instances of the same incorrect word, fixing them all across the epub documents so you never have to spellcheck/correct same word twice.
|
![]() |
![]() |
![]() |
#13 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,085
Karma: 5450184
Join Date: Nov 2009
Device: many
|
I will add a keyboard only way to make the Spellcheck Dialog show context for the currently selected word to my to-do list for a future Sigil release as that would help keyboard centric users and those with Accessibility issues with a mouse.
|
![]() |
![]() |
![]() |
#14 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 248528
Join Date: Jan 2016
Device: none
|
Thanks. As for the alternative to right-clicking to display the pop-up menu after hitting F4/Next Misspelled Word: I never use Windows' Apps key, but it comes handy to display the pop-up menu.
Very nice. Solves the problem. |
![]() |
![]() |
![]() |
#15 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 248528
Join Date: Jan 2016
Device: none
|
Suggestion for the Spellcheck dialog: If need be, display it so that the user doesn't have to move it to see the word underneath
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prevent spellchecker from opening every file | Karellen | Editor | 7 | 01-10-2023 10:08 PM |
Spellchecker problem | neilrh | Sigil | 5 | 03-04-2021 10:15 AM |
Spellchecker - enhancements | BetterRed | Sigil | 11 | 03-01-2016 05:53 PM |
Sigil 0.5.3 - spellchecker missing? | Naloomi | Sigil | 3 | 08-08-2012 09:03 PM |
Am I Missing Something? (spellchecker) | Guns4Hire | Sigil | 11 | 01-10-2010 06:57 AM |