textstat
An open-source Python library for text readability analysis that includes several classical readability formulas, such as Flesch Reading Ease and SMOG, for quantifying the reading difficulty of text.
Timeline (last 90 days)
textstat is an open-source Python library for computing text readability metrics, with built-in formulas such as Flesch Reading Ease, Flesch-Kincaid Grade Level, the SMOG index and the Gunning Fog index.
textstat can be installed via pip install textstat, and scores are obtained by calling functions such as textstat.flesch_reading_ease(text).
textstat's readability metrics are designed for English, so applying them directly to Chinese writing will produce deviations, but the sentence-length distribution dimension still has reference value.
All Facts (3)
textstat is an open-source Python library for computing text readability metrics, with built-in formulas such as Flesch Reading Ease, Flesch-Kincaid Grade Level, the SMOG index and the Gunning Fog index.
50%Unverifiedtextstat can be installed via pip install textstat, and scores are obtained by calling functions such as textstat.flesch_reading_ease(text).
50%Unverifiedtextstat's readability metrics are designed for English, so applying them directly to Chinese writing will produce deviations, but the sentence-length distribution dimension still has reference value.
50%