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