mnemonist
mnemonist copied to clipboard
SymSpell.from(words, {maxDistance: 3, verbosity: 2}) taking long time to load large word dictionary
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.