This repository has been archived by the owner on Jul 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Out of memory occurs when compiling a very large dictionary file #2
Comments
I set the value of
|
Is there a way to use the hunspell dic and aff files in cspell without compiling? |
Sorry about not responding. There is a known issue for very large word lists. If you have another way to convert a hunspell file into a list of words, it might work better. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to compile to make the Korean trie.gz file, but out of memory occurred in all situations.
The number of lines in the dic file is 102252, and the number of lines in the aff file is 122134.
I tried to increase memory usage with
--max_old_space_size
option but it only increased runtime and still out of memory.If the time complexity of calculating the dic file and the aff file is a problem, let me know which code is causing the problem and I would like to help you improve it.
I tried to compile the en_US hunspell as a test. It was compiled in a very short time.
The used hunspell project is https://github.com/spellcheck-ko/hunspell-dict-ko/releases
I would like to help many Korean developers who use code spells.
Help me. Thank you.
The text was updated successfully, but these errors were encountered: