Skip to content

Commit 14e50ea

Browse files
authored
Merge pull request cdimascio#16 from susmoy-macgill36/patch-1
Update dale_chall.py
2 parents 8ef55c7 + 7174f5f commit 14e50ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readability/scorers/dale_chall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _score(self):
3030
stats.num_dale_chall_complex / stats.num_words * 100
3131
raw_score = 0.1579 * percent_difficult_words + 0.0496 * words_per_sent
3232
adjusted_score = raw_score + 3.6365 \
33-
if percent_difficult_words > .05 \
33+
if percent_difficult_words > 5 \
3434
else raw_score
3535
return adjusted_score
3636

0 commit comments

Comments
 (0)