We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ef55c7 + 7174f5f commit 14e50eaCopy full SHA for 14e50ea
readability/scorers/dale_chall.py
@@ -30,7 +30,7 @@ def _score(self):
30
stats.num_dale_chall_complex / stats.num_words * 100
31
raw_score = 0.1579 * percent_difficult_words + 0.0496 * words_per_sent
32
adjusted_score = raw_score + 3.6365 \
33
- if percent_difficult_words > .05 \
+ if percent_difficult_words > 5 \
34
else raw_score
35
return adjusted_score
36
0 commit comments