View Single Post
Old 12-16-2016, 08:50 PM   #924
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by peterromer View Post
Hi Jimmy, thanks for answer. There are three reasons, why I think it's wrong.

1) First of all The Flesch-Kincaid scale only goes up to 100.
According to the Wikipedia page linked:
Quote:
The highest (easiest) readability score possible is around 120
Which seems reasonable as they 100 is the 11 year-old level, so a higher number would be needed for younger ages.
Quote:
2) When I put "Women" into "https://readability-score.com/text/" I get the score 91.2 and "Wind Up Bird Chronicle gets 82.
The calculation used is:
Code:
score = 206.835 - (1.015 * (text_analysis['averageWordsPerSentence'])) - (84.6 * (text_analysis['syllableCount']/ text_analysis['wordCount']))
There is a long discussion in this thread from earlier in the on the word count. The issue is what exactly is a word and what delimeters should be used. I was considering updating the algorithm used for this to use one used elsewhere in calibre, but, never got around to it. And when you did the test on the site, did you include all the book? That is including the cover, contents and any other front and back matter? There is no way for the plugin to distinguish these, so they will be included in the counts.

I have never looked at how the syllable count is done. I don't know how accurate it is.
Quote:
3) There are no decimals in both of the outcome scores.
Decimals are shown in the results here. Are you using a floating point column to store the results?
davidfor is offline   Reply With Quote