Hello davidfor,
I'd appreciate if you could send me the code how to add a language specific version, or just post it here. Thanks!
In my private version I have tried out the "german.pickle" from the nltk package (modified to work with the plugin) but the difference was <1%. I don't care much about a higher accuracy, e.g. whether the reading ease is 75.5 or 76.7. If it's easy to select the correct pickle file on the fly, well, then it makes sense to use that one.
Regarding the "Wiener Sachtextformel", I am using the 4th variant which is calculated like this:
score = (0.2656 * text_analysis['averageWordsPerSentence']) + (0.2744 * (text_analysis['complexwordCount'] * 100 / text_analysis['wordCount']) ) -1.693
It can replace the "Gunning-Fog-Index" (as "years of education"), which doesn't work for German books anyway.
|