You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Cdimascio:
I would like to know it still reported 'readability.exceptions.ReadabilityException: SMOG requires 30 sentences. ' when passing the all_sentences=True argument to smog().
r=readability.Readability(text)
s = r.smog(all_sentences=True)
print(s.score)
print(s.grade_level)
Best regards,
Jose Liu
The text was updated successfully, but these errors were encountered:
ceruulean
added a commit
to ceruulean/py-readability-metrics
that referenced
this issue
Sep 3, 2022
Dear Cdimascio:
I would like to know it still reported 'readability.exceptions.ReadabilityException: SMOG requires 30 sentences. ' when passing the all_sentences=True argument to smog().
r=readability.Readability(text)
s = r.smog(all_sentences=True)
print(s.score)
print(s.grade_level)
Best regards,
Jose Liu
The text was updated successfully, but these errors were encountered: