Quote:
Originally Posted by KevinH
I looked at what calibre does. For every single word they spellcheck they use a regular expression replacement of the regular and short hyphens with nothing. If that shortens the word, they then spellcheck the shortened version first as a new word, if it passes they add it first to the suggestions, and then go and spellcheck the original word, and then test each new suggestion to prevent duplication with the no hyphen suggestion.
KevinH
|
How it works for calibre. Take a look on the attached picture. It is part of user dictionaries and an example how it works with German words (we have a lot of bla-bla-bla hyphens

)
The discussion around for implementation you can find here:
https://www.mobileread.com/forums/sho...d.php?t=237869
I use this functionality very often in different situations.