Updates to the plugin include:
- the plugin will only run if the version of Sigil used is 9.1 or greater; there is a risk that a bug in Sigil version 0.9.0 will corrupt your eBook so the plugin will only work if the version of Sigil is 9.1 or greater.
- an improvement by Steadyhands to the code for words that are preceded by an apostrophe in the wrong direction.
Quote:
Originally Posted by Steadyhands
Still not 100% perfect but much better then before.
|
The plugin will never be 100% perfect - unfortunately sometimes judgement is needed to correct the final text; the intention of the plugin was to automatically tidy up common errors in ePub files that had been OCR'd to speed up the process of correcting text and then use manual tweaks to correct any remaining errors.
Quote:
Originally Posted by Steadyhands
Probably should be stated that this regex works for double curly quote formatted books but not single. There are still issues with false positives for text like ‘At the sound of’ and ‘Is it real’ where you need to lookaround the text and that is the next improvement.
|
I have ensured that the updated code will run only run if quotes used for speech are not single curly quotes to reduce these types of errors.
Quote:
Originally Posted by Steadyhands
I prefer to step through the file rather than a replace all.
|
Some users may wish to copy and paste the code by Steadyhands into the "Find" box in Sigil and do a manual search and replace where the quotes used for speech are single curly quotes. The plugin will do a 'replace all' for ePub books in which quotes used for speech are not single curly quotes.