View Single Post
Old 07-09-2014, 05:19 AM   #16
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
Quote:
Originally Posted by BetterRed View Post

Be nice to have the ability to exclude paragraphs too - to avoid checking quotes in the original vernacular - eg Chaucer, Shakespeare etc

BR
Just thinking laterally on this - if you consider the paragraphs as being in a "foreign" language for which there is no dictionary would this do the trick ?

So you would need to set the paragraph to have a style where the language code was say "en-oe" (for Old English). The trouble here would be that doing may be more effort than the benefit. It would mean wrapping the portion of text in a <div lang="en-oe"> or using CSS styling to achieve the same effect.

If Calibre interpreted "en-oe" as English it might need a dummy language code.

HOWEVER a quick check seems to indicate that the Editor will treat any declared language code for which it doesn't have a dictionary as that of the main file declaration or in the absence of a language declaration in the header as English (at least on my machine).

So a workaround would appear to be to install a dictionary with no words in common with English (Klingon ?) and declare the undesired paragraphs as that language.

Of course if there was actually a "en-oe" dictionary that would be great.

EDIT - given the context Middle English might have been a better suggestion, however it's the general principle I was trying to illustrate.

BobC

Last edited by BobC; 07-09-2014 at 07:28 AM.
BobC is offline   Reply With Quote