measure the readability of English text
Readability( text, method = m )
string; substantial English text
symbol; the name of one of the methods described below
The Readability(text) command returns one of several measures of Readability of English language text. By default, when called without the method option, Readability computes the SMOG index of text. Several other measures of readability are provided. The following table lists the valid values of the method parameter m.
the SMOG index
The Gunning-Fog index
Flesch Reading Ease Index
Flesch-Kincaid Grade Level Formula
Automated Readability Index
The Coleman-Lau Readability Index
Each of the readability indices (or other measures) is a statistical test that uses various properties of the text to determine a measure of the level of difficulty of reading the text. Small amounts of text are not suitable for input. It is recommended that you use at least 100 words of text for any of the measures to provide any meaning.
All of the StringTools package commands treat strings as (null-terminated) sequences of 8-bit (ASCII) characters. Thus, there is no support for multibyte character encodings, such as unicode encodings.
text1 ≔ See Spot. See spot run. Spot is a dog. Look Jill! Look! Look! Look at Spot! Tristan, see spot. See spot run. Spot runs and runs. Spot is funny. Spot is nice. Tristan is nice. Jill is nice. We are all nice. Spot is special. Spot is my special dog. My special dog Spot runs and runs. He is so special. Tristan is special. Jill is special. I am special. We are all special. Spot is black. Black dogs are special. So Spot is special. Jill is a big girl. Big girls are special. So Jill is special. Tristan is a big boy. Big boys are special. So Tristan is special. I am a little girl. Little girls are special. So I am special. We are all special. We are all very, very special.:
text2 ≔ Long ago two Indian boys lived in the Canadian forest with their parents. One boy was much older and larger and stronger than the other. He forced his little brother to do all the hard work about the place. He stole from him all the good things his parents gave him and often he beat him until he cried with pain. If the little boy told his parents of his brother's cruelty, his brother beat him all the harder, and the little boy found that it was more to his comfort not to complain. But at last he could stand the cruelty no longer, and he decided to run away from home. So one morning he took his bow and arrows and an extra pair of moccasins, and set out alone to seek his fortune and to find a kinder world.:
text3 ≔ Not all that Mrs. Bennet, however, with the assistance of her five daughters, could ask on the subject, was sufficient to draw from her husband any satisfactory description of Mr. Bingley. They attacked him in various ways--with barefaced questions, ingenious suppositions, and distant surmises; but he eluded the skill of them all, and they were at last obliged to accept the second-hand intelligence of their neighbour, Lady Lucas. Her report was highly favourable. Sir William had been delighted with him. He was quite young, wonderfully handsome, extremely agreeable, and, to crown the whole, he meant to be at the next assembly with a large party. Nothing could be more delightful! To be fond of dancing was a certain step towards falling in love; and very lively hopes of Mr. Bingley's heart were entertained.:
Download Help Document