3

Are there any packages in Python or R that can take text and give back its readability? For example, kids are said to read at a certain grade level. I want to be able to get a grade level (or analogous readability measure) for a given text.

bill999
  • 2,147
  • 8
  • 51
  • 103
  • 3
    I don't do this stuff but could the qdap package in R offer what you want? Possibly this: http://www.inside-r.org/packages/cran/qdap/docs/automated_readability_index – Dason May 27 '14 at 18:08
  • 2
    Maybe here: http://stackoverflow.com/questions/8553240/counting-syllables – Rico May 27 '14 at 18:11

1 Answers1

3

An implementation of the Flesch-Kincaid readability statistic is in here: http://cran.r-project.org/web/packages/koRpus/koRpus.pdf

Rico
  • 1,998
  • 3
  • 24
  • 46
  • 1
    +1, and I really don't understand the downvote, since it's a "*A set of tools to analyze texts. Includes, amongst others,functions for automatic language detection, hyphenation, several indices of lexical diversity and **readability***" –  May 27 '14 at 18:26
  • 2
    it is a link-only answer, but on the other hand that's what the question asked for (and why it was closed ...) – Ben Bolker May 27 '14 at 18:36