# Vocabulary-Aware Search Typo Corrector 1.0.0 Suggest conservative search-query corrections from your own corpus and dictionary. Node 20+, no npm or network. Run `node app.mjs`, open the complete local session URL, load the sample or your JSON, and choose Correct search queries. Review original and retrieval queries and download the report or CSV. Ctrl+C stops the loopback server. CLI: `node cli.mjs examples/input.json new-report.json` (append `csv` for CSV output). Existing output is refused. Exit 0 means a report was written; exit 2 means input/I/O error. Input contains either corpus {word: frequency} or documents array, plus dictionary, optional protected words, queries, and optional dominanceRatio (default 3, minimum 2). All fields are demonstrated in examples/input.json. A real general-language dictionary is required for deployment; the tiny sample list demonstrates behavior only. No dictionary or third-party dictionary rights are sold with this product. Use a list you have rights to use and retain its notices when redistributing your data. Words already in the corpus, dictionary or protected list stay unchanged. Other words need a unique edit-distance-one candidate or the configured frequency advantage. Ambiguous results explicitly remain unchanged. Mixed alphanumeric identifiers are not corrected. Original queries are never overwritten; use retrievalQuery for search only and offer users the unchanged original as an override. Full JSON includes individual refusal decisions, corpus/dictionary hashes and metadata. JSON is authoritative; CSV guards formula-like prefixes. Limits: 5 MiB input, 20000 corpus tokens, 50000 dictionary words, 10000 protected tokens, 100 queries of 500 characters; words at most 100 characters. Documents: at most 100 of 50000 characters each. Counts are positive integers at most 1 billion. Length buckets reduce candidate search. Unicode letters supported; this is not a language model or proof of intended meaning. Dictionary quality and corpus freshness determine behavior. Tests: `node --test tests/product.test.mjs`. Browser visual acceptance remains separate.