Function Repository Resource:

Calculate the readability of a text using a standard formula

Contributed by: Jesse Friedman

## Details and Options

The following readability tests are supported:
 "ARI" Automated Readability Index grade level » "ColemanLiau" Coleman–Liau grade level » "ColemanLiauCloze" Coleman-Liau cloze fraction » "FleschKincaid" Flesch–Kincaid grade level(default)» "FleschReadingEase" Flesch Reading Ease score » "FORCAST" FORCAST grade level » "GunningFog" Gunning fog index grade level » "LensearWrite" Lensear Write index "Rix" Interpolated Rix grade level "RixScore" Rix score "SMOG" SMOG grade level »
For the "ColemanLiauCloze", "FleschReadingEase", and "LensearWrite" tests, higher values indicate higher readability. For all other tests, higher values indicate lower readability.
Grade level indices are meant to estimate the U.S. grade level (or number of years of education, for values greater than 12) generally required to understand the text.
The following option is supported:
 "UseWordData" False whether to check WordData for syllable hyphenation and phonetic data
Some readability tests require syllable metrics, which are obtained using the resource function WordSyllables. By default, only the built-in syllabic heuristics in WordSyllables are used. Setting "UseWordData"True will cause WordSyllables to check WordData for hyphenation data, which may be slightly more accurate but generally takes longer.

## Examples

### Basic Examples (3)

Calculate the Flesch-Kincaid grade level score of Rudyard Kipling’s The Jungle Book:

 In[1]:=
 Out[1]=

Calculate the Rix score of Charles Darwin’s On the Origin of Species:

 In[2]:=
 Out[2]=

Calculate the Automated Readability Index grade level score of Stephen Wolfram’s A New Kind of Science:

 In[3]:=
 Out[3]=

### Scope (4)

Calculate the grade level of Lewis Carroll’s Through the Looking-Glass using multiple different readability tests:

 In[4]:=
 Out[4]=

Compare the Lensear Write scores for two novels involving gabled houses (higher values indicate higher readability):

 In[5]:=
 Out[5]=

Calculate the Automated Readability Index grade levels of several works of fiction by Sir Arthur Conan Doyle:

 In[6]:=
 In[7]:=
 Out[7]=

Chart the scores:

 In[8]:=
 Out[8]=

 In[9]:=
 Out[9]=

### Options (2)

#### UseWordData (2)

By default, readability tests which require syllabic metrics are restricted to using the (generally excellent) built-in heuristics in WordSyllables:

 In[10]:=
 Out[10]=

Setting "UseWordData"True allows WordSyllables to look up syllable hyphenation in WordData, which may be slightly more accurate but can take significantly longer to access:

 In[11]:=
 Out[11]=

### Neat Examples (1)

Calculate and plot the Flesch-Kincaid grade level indices of American presidents’ inaugural addresses over time:

 In[12]:=
 In[13]:=
 Out[13]=

Jesse Friedman

## Version History

• 1.0.0 – 22 October 2019