mnemonist icon indicating copy to clipboard operation
mnemonist copied to clipboard

SymSpell.from(words, {maxDistance: 3, verbosity: 2}) taking long time to load large word dictionary

Open kabyanil opened this issue 1 year ago • 3 comments

I am loading a dictionary of 163,196 words into SymSpell. It is taking more than a minute to load. If I load more than that, the Tauri app crashes. I am wondering, is there any way to load the words once, generate the precalculated delete combinations, and save the generated dictionary for later use? It seems to me that the precalculation step is redundant, running every time the app is launched.

Please share your thoughts on this. Thanks.

kabyanil avatar Nov 22 '23 05:11 kabyanil