/ Published in: C

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
int main() { Hunhandle *dic; char *word_ok, *word_notok, **slist; int list_size, i; word_ok = "hejes"; word_notok = "helyes"; dic = Hunspell_create("hu_HU-1.5/hu_HU.aff", "hu_HU-1.5/hu_HU.dic"); list_size = Hunspell_suggest(dic, &slist, "hejes"); for (i = 0; i < list_size; i++) { } Hunspell_destroy(dic); return 0; }
URL: http://blog.connor.hu/2009/11/21/hunspell-c-api/
Comments
