HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
justinwilaby
spellchecker-wasm
Rust2026–2026
justinwilaby / spellchecker-wasm

spellchecker-wasm

SpellcheckerWasm is an extrememly fast spellchecker for WebAssembly based on SymSpell

2Distinct people
2Mentions
0Explicit recommenders
65GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

SpellcheckerWasm is an extrememly fast spellchecker for WebAssembly based on SymSpell

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2026-02-06 15:43:11 UTC to 2026-02-06 17:07:09 UTC.

012026-02-06 15:00:00 UTC to 2026-02-06 16:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 6, 15:002026-02-06 16:00:00 UTC to 2026-02-06 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsFeb 6, 16:002026-02-06 17:00:00 UTC to 2026-02-06 18:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 6, 17:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Feb 6, 15:002026-02-06 15:00:00 UTC2026-02-06 16:00:00 UTC101
Feb 6, 16:002026-02-06 16:00:00 UTC2026-02-06 17:00:00 UTC000
Feb 6, 17:002026-02-06 17:00:00 UTC2026-02-06 18:00:00 UTC101

What Hacker News says

2 sources
Peter Norvig shows that an edit distance = 2 will cover 98.9% spelling errors. https://impythonist.wordpress.com/2014/03/18/peter-norvigs-2... That's the reason why the default maximum edit distance of SymSpell is 2. Now, all your 6 out of 6 examples are chosen from that 1.1% margin that is not covered by edit distance 2, presenting a rather unlikely high amount of errors within a single word. The third-party SymSpell port from Justin Willaby, which you were using for benchmarking, clearly states that you need to set both maxEditDistance and dictionaryEditDistance to a higher number if you want to correct higher edit distances. That you neither used nor mentioned. This has nothing to do with accuracy; it is a choice regarding a performance vs. maximum edit distance tradeoff one can make according to the use case at hand. https://github.
Read the rest
com/justinwilaby/spellchecker-wasm?tab=readme... pronnouncaition IS within edit distance 3, according to the Damerau-Levenshtein edit distance used by SymSpell. The reason is that adjacent transpositions are counted as a single dit. https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_di...
In Show HN: A spell-checker 380x faster than Hunspell, 5x faster than SymSpell
Hi wolfgarbe, I don't believe my benchmark of SymSpell is misleading. I used the webassembly repository that is listed on your github: https://github.com/justinwilaby/spellchecker-wasm Here is the code I used for my benchmark: https://gist.github.com/Eratosthenes/bf8a6d1463d2dfb907fa13c... I reported the results faithfully and I believe these results reflect the performance that users would typically see running SymSpell in the browser, using the default configuration. If I had increased the edit distance, then the latency performance gap between Lexiathan and SymSpell would have been even larger, and then arguably I would have been gaming my metrics by not using SymSpell as it is configured. Regarding dictionary size: The dictionary size (as you can verify from the gist) was 82k words. I didn't specify the dictionary size I used for Lexi
Read the rest
athan, but it was 106k words. Lastly, three of the words in the benchmark have edit distances greater than three: distance("pronnouncaition", "pronunciation") = 4 distance("maggnificntally", "magnificently") = 4 distance("annnesteasialgist", "anesthesiologist") = 6 So I do not believe SymSpell would correct these even with the edit distance increased to 3.
In Show HN: A spell-checker 380x faster than Hunspell, 5x faster than SymSpell

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.