dress icon indicating copy to clipboard operation
dress copied to clipboard

Possible bug in FKGL computation

Open louismartin opened this issue 5 years ago • 0 comments

Hi, If I'm not mistaken, the computation of FKGL is off due to the behaviour of int division in python2 (result of division casted to int instead of a float).

https://github.com/XingxingZhang/dress/blob/dda0c92a755e2b209c7f5bb41a51bcc4b0962953/dress/scripts/readability/readability.py#L25

This would probably change the results in the DRESS paper (and subsequent papers who used the script).

louismartin avatar Jun 14 '19 15:06 louismartin