Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug in FKGL computation #22

Open
louismartin opened this issue Jun 14, 2019 · 0 comments
Open

Possible bug in FKGL computation #22

louismartin opened this issue Jun 14, 2019 · 0 comments

Comments

@louismartin
Copy link
Contributor

louismartin commented Jun 14, 2019

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).

avg_words_p_sentence = word_count/sentence_count

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

@louismartin louismartin changed the title Bug in FKGL computation Possible bug in FKGL computation Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant