Quote:
Originally Posted by theducks
You could do a simple Hack on the PI (it is just a Zip file)
Just edit the formula in statistics.py
: get_flesch_kincaid...
|
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.