Quote:
Originally Posted by CalibUser
Taking your previous example, "green-yel- low", it seems that you are looking for a plugin that will find this as an error in an ePub and then correct it to "green-yellow" using a dictionary. As there are so many different variations of where the hyphen(s) and space(s) could occur in just this one example (eg "gre -en- yell- ow", etc) - this could slow down my plugin considerably.
You may need a separate plugin for this.
|
If you could consider only the case of not touching hyphenated words as an option or default, that would be nice. In my current EPUB, on botany as you can tell, I find so many hyphenated words that might occur only once, variations in references (articles or books), regional names, e.g., "sa-ke", and so forth. I can modify the script by changing the regex which is fine, though perhaps others would like it as well.