esltextstats provides small, dependency-free helpers for computing basic
readability statistics on short English texts. It is aimed at learners and
teachers of English as a second language who want a quick estimate of how
hard a passage is to read.
# Enable this universe
options(repos = c(
theluckystrike = "https://theluckystrike.r-universe.dev",
CRAN = "https://cloud.r-project.org"
))
install.packages("esltextstats")library(esltextstats)
text_stats("The cat sat. The dog ran fast.")
flesch_reading_ease("The cat sat on the mat. The dog ran fast.")A higher Flesch Reading Ease score means the text is easier to read. Scores above 60 are generally comfortable for many non-native readers.
See https://belikenative.com for an AI writing assistant aimed at non-native English speakers.