textstat icon indicating copy to clipboard operation
textstat copied to clipboard

discrepancy in Flesch_reading_ease score

Open tahseenbaig opened this issue 8 months ago • 0 comments

I noticed textstat.flesch_reading_ease scores are different in python and ruby for the same text. For some texts, the difference is huge ( 26.98 in python but -6.86 in ruby)

for example for the same text, I get a score of 45.09 in ruby but 53.55 in python.

rb(main):011> TextStat.flesch_reading_ease("I am a user and I am enjoying evaluating Textstat in python and ru
by and but am a little disaapointed with the difference in score here.")
=> 45.09
irb(main):012>

In python -

textstat.flesch_reading_ease("I am a user and I am enjoying evaluating Textstat in python and ruby and but am a little disaapointed with the difference in score here.")
53.55

why so. I am more concerned for cases where the difference is large.

tahseenbaig avatar Jun 26 '24 22:06 tahseenbaig