We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use this package? How to add the dictionary/frequency file like here: https://github.com/wolfgarbe/SymSpell ? Thanks.
The text was updated successfully, but these errors were encountered:
symspell::SymSpell symSpell; char* corpus = (char*)"/full/patht/to/frequency_dictionary_en_82_765.txt"; symSpell.LoadDictionary(corpus, 0, 1);
// LoadDictionary() returns a bool, so you can check if the file is loaded.
Sorry, something went wrong.
BTW, I try to load dictionary using your method..But it always displays freq_count as zero.. can u help?? Thanks in advance..
symspell::SymSpell symSpell; char* corpus = (char*)"/full/patht/to/frequency_dictionary_en_82_765.txt"; symSpell.LoadDictionary(corpus, 0, 1); // LoadDictionary() returns a bool, so you can check if the file is loaded.
Some explanation is here: https://stackoverflow.com/questions/56394962/wordsegmentation-in-symspellplusplus/56395677#56395677 Our team decided to use Python version with help of Python/C API: https://docs.python.org/3/c-api/
No branches or pull requests
How to use this package?
How to add the dictionary/frequency file like here: https://github.com/wolfgarbe/SymSpell ?
Thanks.
The text was updated successfully, but these errors were encountered: