Quote:
Originally Posted by AnselmD
Thanks, good idea  .
I think i have to adapt the computation of complex words too.
def countComplexWords
...
#Checking proper nouns. If a word starts with a capital letter
#and is NOT at the beginning of a sentence we don't add it
#as a complex word.
...
I do not really understand, why this is done for the English language. But for the German language, a noun with a capital letter is a proper noun, even within the sentence.
Addition:
Oh, i just see i do not need the complex words for the Flesch-Reading-Ease. I would need it for the adaption of the Gunning-Fog-Index.
|
You have gone way past my skill level

I just knew where the hack needed to be.

I wonder if the PI could be made to detect the value of {Language} (in Calibre) and use a
more specific formula if it exists
(Case-Otherwise)
Keep your formula code versions (formulaname
_de), and offer to send them to the Author, he might incorporate language specific calculations