🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Lexical Simplification: Making Text Easier to Read

Natural Language ProcessingLexical Simplification: Making Text Easier to ReadđŸŸĸ Free Lesson

Lexical Simplification: Making Text Easier to Read

Module: Natural Language Processing | Difficulty: Advanced

What You'll Learn

  • 1Describe the four-step lexical simplification pipeline and what each step consumes
  • 2Compute SARI from add, keep, and delete n-gram scores
  • 3Rank candidate substitutions by simplicity and meaning preservation
  • 4Use TurkCorpus, ASSET, and BenchLS to evaluate a system

Lexical simplification replaces difficult words with easier ones while leaving the rest of the sentence intact. It is the most constrained form of text simplification, and the one with the clearest evaluation protocol, because the edit set is small enough to inspect.

The Pipeline

Every system follows the same four stages. First, complexity prediction marks words that readers may not know. Second, candidate generation proposes replacements for each marked word. Third, ranking orders those candidates by simplicity and by how well they preserve meaning. Fourth, the chosen candidate is inserted and the sentence is checked for fluency.

ResourceSizeContent
PWKP (Zhu et al., 2010)108,016 pairs from 65,133 articlesWikipedia aligned simplifications
BenchLS (Paetzold and Specia, 2016)929 instances7.37 candidate replacements on average
LexMTurk (Alva-Manchego et al., 2017)crowd candidates12.64 candidates on average, standard deviation 6.4
TurkCorpus (Xu et al., 2016)about 2,350 sentences, 8 references each2,000 validation and 359 test
ASSET (Alva-Manchego et al., 2020)359 sentences, 10 references eachedited for both simplicity and meaning

Candidate counts matter: with 7 to 13 replacements per word, picking the right one is a ranking problem, and a system that always chooses the shortest word will lose on meaning.

Choosing among candidates

The ranker balances two signals that pull in opposite directions. A simple objective scores each candidate by a weighted sum of its predicted simplicity and its similarity to the original word:

with read off the complexity predictor and a word embedding. Setting near 1 produces aggressive simplification that drifts from the source, while setting it near 0 reproduces the input.

Evaluation with SARI

SARI (Xu et al., 2016) scores how well a system adds, keeps, and deletes n-grams relative to both the source and human references, using n-grams up to order 4:

with each component averaged over n-gram orders 1 to 4. Keep measures retention of easy material, add measures whether new content matches the references, and delete measures whether removed material was correctly identified.

Readability is a separate, cheaper check:

Worked Code

python
import re

SYNONYMS = {
    "utilize": ["use", "employ"], "purchase": ["buy", "acquire"],
    "commence": ["start", "initiate"], "numerous": ["many", "plenty"],
    "facilitate": ["help", "expedite"], "endeavor": ["try", "strive"],
}
FREQUENCY_RANK = {"use": 1, "many": 2, "buy": 3, "start": 4, "help": 5,
                  "try": 6, "employ": 30, "plenty": 40, "acquire": 50,
                  "initiate": 60, "expedite": 70, "strive": 80,
                  "utilize": 90, "purchase": 95, "commence": 96,
                  "numerous": 94, "facilitate": 97, "endeavor": 98}

def syllables(word):
    count = len(re.findall(r"[aeiouy]+", word.lower()))
    if word.lower().endswith("e") and count > 1:
        count -= 1
    return max(count, 1)

def complexity(word):
    word = word.lower()
    return (len(word) * 0.4 + syllables(word) * 1.2 +
            FREQUENCY_RANK.get(word, 500) * 0.05)

def rank_candidates(word):
    scored = []
    for cand in SYNONYMS.get(word.lower(), []):
        simple = -complexity(cand)
        similar = 1.0 - abs(len(cand) - len(word)) / max(len(word), 1)
        scored.append((round(0.6 * simple + 0.4 * similar, 3), cand))
    return sorted(scored, reverse=True)

def simplify(sentence):
    out = []
    for word in sentence.split():
        base = word.strip(".,")
        if base.lower() in SYNONYMS:
            best = rank_candidates(base)[0][1]
            out.append(best + word[len(base):])
        else:
            out.append(word)
    return " ".join(out)

text = "We utilize numerous tools to commence the work"
marked = ["utilize", "numerous", "commence"]
print("complexity:", {w: round(complexity(w), 2) for w in marked})
print(text, "->", simplify(text))

The second program computes SARI, the metric used to score that output against references.

python
from collections import Counter

def ngrams(tokens, n):
    return [tuple(tokens[i:i + n]) for i in range(len(tokens) - n + 1)]

def f1(pred, ref):
    if not pred or not ref:
        return 0.0
    tp = sum((Counter(pred) & Counter(ref)).values())
    p, r = tp / len(pred), tp / len(ref)
    return 0.0 if p + r == 0 else 2 * p * r / (p + r)

def precision(pred, ref):
    if not pred:
        return 0.0
    tp = sum((Counter(pred) & Counter(ref)).values())
    return tp / len(pred)

def sari(source, pred, ref):
    s, p, r = source.split(), pred.split(), ref.split()
    add_f, keep_f, del_p = [], [], []
    for n in range(1, 5):
        sn, pn, rn = ngrams(s, n), ngrams(p, n), ngrams(r, n)
        sn_set = set(sn)
        pred_added = [g for g in pn if g not in sn_set]
        ref_added = [g for g in rn if g not in sn_set]
        pred_kept = [g for g in pn if g in sn_set]
        ref_kept = [g for g in rn if g in sn_set]
        pred_del = [g for g in sn if g not in set(pn)]
        ref_del = [g for g in sn if g not in set(rn)]
        add_f.append(f1(pred_added, ref_added))
        keep_f.append(f1(pred_kept, ref_kept))
        del_p.append(precision(pred_del, ref_del))
    add = sum(add_f) / 4
    keep = sum(keep_f) / 4
    dele = sum(del_p) / 4
    return round((add + keep + dele) / 3 * 100, 2)

source = "The committee will utilize numerous methods to commence the review ."
pred = "The committee will use many methods to start the review ."
ref = "The panel will use many ways to begin the review ."
print("SARI:", sari(source, pred, ref))
print("copy baseline:", sari(source, source, ref))
print("too aggressive:", sari(source, "It works .", ref))

Real-World Applications

  • Health information: leaflets and consent forms are simplified so that readers at grade 8 can follow them, with FKGL tracked per document.
  • Education: reading platforms adapt Wikipedia sentences and check that the substitution did not change the facts.
  • Government and services: benefit notices are rewritten with candidate counts kept small so a human can approve the edits.
  • Accessibility: easy-to-read variants produced for screen readers are ranked by the same simplicity and similarity trade-off.

💡Score against several references

One reference understates quality because many substitutions are equally valid. TurkCorpus ships 8 references and ASSET 10, and SARI takes the best match, which is why scores on ASSET are not comparable with older single-reference numbers.

Common Mistakes

Selecting candidates by simplicity alone

Fix: Weight meaning similarity, since the shortest word is often the wrong one

Reporting BLEU as simplification quality

Fix: Report SARI, and use BLEU only as a secondary meaning signal

Ignoring the copy baseline

Fix: Copying the input scores high on keep, so always include it

Best Practices

  • Report SARI together with a meaning metric such as BERTScore
  • State which corpus and how many references were used
  • Compare against the identity baseline, which reveals over-editing

Key Takeaways

  • The pipeline is complexity prediction, candidate generation, ranking, then insertion
  • SARI averages F1 for add and keep with precision for delete over 1 to 4 grams
  • TurkCorpus has 8 references per sentence and ASSET has 10
  • Human simplifications score about 49.9 SARI on TurkCorpus

Frequently Asked Questions

Why not optimize readability formulas?

Because they only count syllables and sentence length. A system can lower FKGL by producing short ungrammatical fragments, which is why the metric is reported alongside SARI rather than alone.

How are candidates generated?

By pseudowords from a word frequency list, nearest neighbours in an embedding space, or dictionary synonyms. BenchLS lists 7.37 candidates per complex word on average, LexMTurk 12.64, and the ranker must choose among them.

Does SARI require references?

Yes, SARI compares output against both source and reference, so you need the reference sentences that TurkCorpus and ASSET provide. Reference-free alternatives exist but correlate less well with human judgments of simplicity.

Interview Questions

Q1: What are the three components of SARI?

F1 for added n-grams, F1 for kept n-grams, and precision for deleted n-grams, averaged over orders 1 to 4

Q2: How do you stop a system from degrading meaning?

Constrain candidates with an embedding similarity threshold and report a meaning metric next to SARI

Q3: Why does the copy baseline matter?

It shows how much of the score comes from doing nothing, since copying maximizes the keep component

CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-07

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Continue Learning

Suggested next tutorials based on this topic

Need Expert NLP Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement