![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
spell-checker French
Hi
I have been using for some years with LibreOfice and the Calibre Editor the following spell-checker dictionary downloaded from this site: (see on the left side of the link). http://www.dicollecte.org/grammalecte/telecharger.php The full name of the file is: lo-oo-ressources-linguistiques-fr-v5.6.oxt It's frequently updated and up to now it's the most advanced opensource spell-checker tool in French. I tried to install it just to realize that it did not seem to be working with Sigil (unless I did some mistake, which is quite possible..). As I can use it elsewhere, namely with the Calibre Editor, I just wished to signal it. I know you have a lot of other priorities and it's probably more useful to break new ground (like for Epub3) than rushing to duplicate some functionalities we can find easily elsewhere. ![]() Last edited by roger64; 05-27-2016 at 04:16 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,687
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
AFAIK, Sigil uses its own spelling dictionaries and searches for them in the following locations:
Windows: Code:
%LOCALAPPDATA%\sigil-ebook\sigil\hunspell_dictionaries %PROGRAMFILES%\Sigil\hunspell_dictionaries Linux: Code:
~/.local/share/sigil-ebook/sigil/hunspell_dictionaries/ /usr/local/share/sigil/hunspell_dictionaries/ If your preferred dictionary is GPL licensed, KevinH might even include them in one of the next builds, if you ask him for it. D. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,491
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Yes an oxt is simply a zip with OOo extra pieces. So rename it to .zip and pull out the actual dictionary (both .aff and .dic files) and add them to your user dictionary location so Sigil can find them.
Last edited by KevinH; 05-27-2016 at 10:24 AM. |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
With some additional help from Doitsu,
![]() I can select now any of the four French dictionaries offered. Thanks to both for your help and explanations. ![]() |
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
If you are using my sigil-git package from the Arch Linux AUR, Sigil will use the *.aff and *.dic dictionaries installed in /usr/share/hunspell/
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
I do not have any folder named /usr/share/hunspell.
For me Sigil uses the four .aff and .dic files I put in the "hunspell dictionaries" folder of the Sigil preferences. Last edited by roger64; 05-28-2016 at 03:16 PM. |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,371
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Then you didn't install some of the suggested packages that the sigil-git install specified. Like hunspell-(en|fr|es) and/or hyphen-(en|fr|es).
Quote:
eschwartz's sigil-git package does not use the source-included hunspell dictionaries (cmake -DINSTALL_BUNDLED_DICTS=0 option). The system hunspell dics (installable via pacman|yaourt) are made available to Sigil via the SIGIL_DICTIONARIES environment variable instead. The hunspell_dictionaries folder in the user's Sigil preference folder is always included in the dictionary search path regardless. That's why it's still working for you. Last edited by DiapDealer; 05-28-2016 at 04:03 PM. |
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,371
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That said ... I'm not entirely certain that Sigil will actually implement the hyphen dictionaries. Kevin (or maybe eschwartz--who modified his sigil-git package to look to /usr/share/hyphen) might know better. Worse case is they get ignored. I've not experimented with them.
|
![]() |
![]() |
![]() |
#10 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,491
Karma: 5703586
Join Date: Nov 2009
Device: many
|
the hyphenation were incorrectly added to the hunspell dictionary but they are actually encoded versions of the words and are not dictionary format. I fixed this but did not remove them as adding hyphenation to the viewer is on my to-do list eventually.
so they are just ignored. |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,371
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thanks, Kevin. I knew I remembered something about hyphenation dictionaries and "ignoring."
![]() |
![]() |
![]() |
![]() |
#12 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
![]() @roger64, The advantage of installing your French hunspell dictionaries into the system dictionaries is that ALL applications will see them. And handily enough, the hunspell-fr in [extra] already contains the "modern" dictionary from that LO dictionary. |
|
![]() |
![]() |
![]() |
#13 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
With Firefox, the Grammalecte extension is available to check orthograph, grammar, verbs, typography, etc. Its four dictionaries (now installed for me in Sigil) are eligible for choice. The "classic" one is the recommended choice for native French speakers and the "modern" one for others. See screenshot. Grammalecte (with dictionaries) is also available for LibreOffice. Last edited by roger64; 05-29-2016 at 06:04 AM. Reason: native |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub spell checker | drake7707 | Reading and Management | 12 | 10-06-2017 09:38 AM |
Spell Checker window on top of Editor window | Calibre-Fan | Editor | 3 | 01-30-2016 11:48 AM |
spell checker & apostrophes | BetterRed | Sigil | 4 | 04-18-2014 06:07 PM |
Sigil Spell Checker Coming~ soon? | Themus | Sigil | 49 | 12-11-2011 02:33 PM |
Spell checker | crutledge | Sigil | 31 | 12-29-2010 01:31 PM |