---
title: "Design: did-you-mean and spell correction"
description: "Design did-you-mean: choose when to suggest or correct, measure character distance, generate candidates, add evidence, and abstain when unsure."
canonical_url: "https://fanout.sh/system/archive/did-you-mean-and-spell-correction"
md_url: "https://fanout.sh/system/archive/did-you-mean-and-spell-correction.md"
last_updated: "2026-11-11"
access: "pro-preview"
---

# Design: did-you-mean and spell correction

Design did-you-mean: choose when to suggest or correct, measure character distance, generate candidates, add evidence, and abstain when unsure.

- Access: Fanout Pro (public preview)

## The core idea

You search for cach, and the results do not include the document you expected.

Offering cache may help, but automatically replacing every unfamiliar word would also damage valid names and identifiers.

## In this lesson

- Choose the product behavior
- The character distance
- The vocabulary and candidate path
- Records and method results
- The executed decisions
- Candidate generation
- Add evidence beyond character distance
- Abstention and uncertainty
- Query handling
- Dictionary publication and privacy

## Continue reading

Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.

---
This representation contains public Fanout content only. Protected Pro lessons, account data, billing, checkout, and pricing are not included.

Browse the public content map: https://fanout.sh/sitemap.md
