View Single Post
Old 01-11-2016, 06:05 AM   #856
red_dragon
Daywalker
red_dragon is on a distinguished road
 
Posts: 29
Karma: 52
Join Date: Jul 2008
Device: Kindle Paperwhite
Btw, for the German language the formula to calculate the Flesh Reading Ease is different. I have created my own copy of the plugin as I have never figured out how to use the book language to automatically switch to the new algorithm.

As the plugin is still developed actively, maybe the following change can be integrated:

# German Flesh Reading Ease
score = 180 - text_analysis['averageWordsPerSentence'] - (58.5 * (text_analysis['syllableCount']/ text_analysis['wordCount']))
red_dragon is offline   Reply With Quote