Initial release: October 17, 2020
Current Version: "0.1.4.2"
This plugin is a simple Grammalecte-based grammar/spell checker for
French ebooks. (Unlike the LibreOffice version, this plugin does not come with a GUI.)
Credits: This plugin uses the
Grammalecte 1.12.2 Python library.
System requirements: Sigil 0.9.5 or higher.
Installation:
1. Select Manage Plugins from the Plugins menu and select
Use Bundled Python, if it isn't already selected or greyed out.
2. Click Add Plugin and select
Grammalecte_v0.1.4.1.zip. This will install the Grammalecte plugin, which you can select via Plugins >
Validation > Grammalecte.
Note that this plugin will only check files highlighted in the Book Browser window. (If you want to check all files, click the Text folder.)
Settings:
This plugin doesn't come with a GUI, however, advanced users can customize it by adding/editing the following Grammalecte.json entries:
For example, if you add the following entries to Grammalecte.json:
Code:
liga: True,
idrule: True,
Grammalecte will flag common ligatures and display rule ids.
Note that since Sigil comes with a much better spell checker, typos reported by Grammalecte are hidden by default. To display them, simply change:
Code:
"error_types": [
"lGrammarErrors"
]
to:
Code:
"error_types": ["lGrammarErrors", "lSpellingErrors"]
(As with all JSON entries, each entry, except for the last one, needs to be terminated by a comma.)
The plugin will also check the Grammalecte website at least once a week for updates. If you'd rather manually update the plugin, please change the following entry:
Code:
"update_check": true,
to:
Code:
"update_check": false,
Since the French dictionaries bundled with Sigil are slightly outdated, French users also might want to download and install the latest French Hunspell dictionaries from the
Grammalecte website.
License: GNU General Public License v3 (GPL-3)