Text Complexity Analysis — Readability Assessment

Machine Learning
Type
Linguistic-feature measurement pipeline

What does it do?

Text complexity analysis estimates the linguistic difficulty of a text.

Its readability scores come from classical formulas computed over counts of words, sentences and syllables, and the pipeline also extracts descriptive measures of syntactic complexity, lexical density and referential cohesion. The method converts prose into quantitative scores that estimate how hard a document is to read. Feature-based readability models, such as the one developed by Vajjala and Meurers (2014), take a different approach: they combine a broad range of linguistic features.

The intuition behind the method

Some texts read easily and others feel dense, but a reader's sense of difficulty is subjective. The method aims to make that difficulty measurable. It counts surface signals (words, sentences and syllables) and applies readability formulas that place each text on a difficulty scale. Alongside these scores, it extracts descriptive measures of syntactic complexity, lexical density and referential cohesion.

History

Text complexity analysis draws on readability research. Vajjala and Meurers (2014) built a readability model over a broad range of linguistic features that performs well at document level, transfers across text genres, and can be adapted to make sentence-level readability judgements. They showed such models can help identify simplification targets for human writers and evaluate machine-generated simplifications. Their feature-based approach differs from the classical formulas that this method reports.

When to use it

Use text complexity analysis when you have a set of texts and want to describe or compare their linguistic difficulty. About ten texts is a rough guide for a reasonably stable profile; the adequate number depends on how much the texts vary and on the comparison you plan. The method suits descriptive profiling of documents, comparing difficulty across groups or collections, and checking the reading level of instructional materials. Do not use it to judge a single document in isolation, to measure how well an individual reader understands a text, or on a language or genre for which the chosen formulas have not been checked.

Limitations and considerations

  • Tokenisation and sentence segmentation are performed by the pipeline, so their accuracy for the language of the texts limits the word and sentence counts behind every formula score.
  • The classical formulas rely on surface counts defined for particular languages and text types, so scores can mislead outside those conditions. They were devised for English-language text; applying them to Turkish or other languages requires language-specific validation of syllable counting, formula coefficients and tokenisation.
  • Different formulas can rank the same texts differently, so no single index is definitive.
  • The syntactic, lexical and cohesion dimensions are descriptive and do not enter the readability scores, so they should not be read as measures of readability.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The classical formulas depend on counts of words, sentences, and syllables that can be inspected, so each score can be traced back to its inputs.
  • Reporting several formulas side by side makes disagreement between them visible rather than hiding it behind one number.
  • The additional syntactic, lexical and cohesion measures describe how a text is built, which surface counts alone do not show.

Applications

  • Assessing and grading the reading level of educational and instructional materials.
  • Supporting text simplification by identifying documents that are hard to read; sentence-level targeting requires a feature-based model such as the one described by Vajjala and Meurers (2014).
  • Comparing linguistic difficulty across registers, authors, or document collections.
  • Profiling corpora in applied linguistics and readability research.

How it works

How it works

1

The pipeline tokenises the text, segments it into sentences and assigns part-of-speech tags. Tokens and sentence boundaries provide the word and sentence counts that the readability formulas use, and syllables are counted from the words. Errors in tokenisation or sentence segmentation therefore propagate into the formula scores.

2

Besides the surface counts, the pipeline extracts further dimensions: syntactic complexity (sentence length and embedded clauses), lexical density, and referential cohesion chains. These are reported as descriptive measures of how a text is built. They are not combined into the readability scores.

3

Flesch Reading Ease, Gunning-Fog and SMOG are applied to produce difficulty scores. Each is a fixed formula over counts of words, sentences and syllables; Gunning-Fog and SMOG also use the count of complex (polysyllabic) words. Flesch Reading Ease runs in the opposite direction to the other two: higher values mean easier text, whereas Gunning-Fog and SMOG estimate a school grade level, so higher values mean harder text. These formulas were devised for English-language text, so their output for other languages or text types is meaningful only after validation.

4

Several readability formulas are reported together, because they weight surface counts differently and can rank the same texts in different orders. Showing the scores side by side makes that disagreement visible, which reduces the risk of over-trusting a single index.

Common pitfalls

  • Applying a formula to a language or text type it was not designed for produces scores that look precise but may not reflect difficulty.
  • Reporting only one readability index hides disagreement between formulas; report several together.
  • Sentence segmentation drives the sentence counts that these formulas use. Changes in punctuation or segmentation can shift scores without any change in the text's difficulty.
  • Tokenisation errors, for example on unusual vocabulary or formatting, distort the word and sentence counts that the formulas use.
  • With only a few texts, profiles are sensitive to single documents, so comparisons between groups are less reliable.

Frequently asked questions

Which readability formula should I use?

No single formula is generally preferred. Flesch, Gunning-Fog and SMOG are correlated surface measures that weight counts differently, so they can rank texts in different orders. Decide before the analysis which index your study will rely on, check that it was validated for your language and text type, and report all of them when they disagree rather than picking the most favourable score.

Do I need to preprocess the text first?

No separate step is needed, because the pipeline tokenises the text, segments sentences and assigns part-of-speech tags itself. Word and sentence counts depend on tokenisation and sentence segmentation, so check that these work well on a sample of texts in your language.

What does the analysis actually measure?

The readability scores are computed from word, sentence and syllable counts using the Flesch, Gunning-Fog and SMOG formulas. Syntactic complexity (sentence length, embedded clauses), lexical density and referential cohesion are reported as additional descriptive dimensions of how the text is built.

How many texts do I need?

About ten texts is a rough guide for a reasonably stable profile. The adequate number depends on how much the texts vary and on the comparison you plan. With fewer documents, profiles are sensitive to single texts and are hard to interpret, especially when comparing groups.

Related methods

Sources

  1. Vajjala, S. & Meurers, D. (2014). Readability Assessment for Text Simplification: From Analysing Documents to Identifying Sentential Simplifications. International Journal of Applied Linguistics, 165(2), 194-222.

    Open DOI reference
  2. Crossley, S.A., Allen, D.B. & McNamara, D.S. (2011). Text Readability and Intuitive Simplification: A Comparison of Readability Formulas. Reading in a Foreign Language, 23(1), 84-101.

    Open publication reference