Thread: Some ideas
View Single Post
Old 03-16-2024, 11:59 AM   #10
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,727
Karma: 5444398
Join Date: Nov 2009
Device: many
Looking at your point 4 more closely, unfortunately hunspell (the spellchecker used by Sigil) is a word based spell checker not a phrase based grammar checker.

So there is no easy way to make it check spelling variations for specific word phrase combinations.

So you have a few options:

A. Use search and replace to properly mark these words at belonging to the Latin language by adding a span and a lang attribute, and spell check those with the appropriate Latin dictionary. This is technically the most correct way to handle foreign phrases in any epub.

or

B. Set up a list of saved searches that can in fact detect commonly broken word phrases and use find and replace on that list to make sure those use the correct the spelling variation.

or

C. Try to find an existing Spanish grammar checker and interface it via a Sigil plugin to detect and report any phrase spelling inconsistencies.
KevinH is offline   Reply With Quote