I tried your example, I get following:
en@gepem:~/program/hunspell-1.2.1/src/tools$ ./example /tmp/x.aff /tmp/x.dic /tmp/x.tst g
en@gepem:~/program/hunspell-1.2.1/src/tools$ ./example /tmp/x.aff /tmp/x.dic /tmp/x.tst b
That seems to be perfectly reasonable for me.
What do you think?
My example.cxx looks:
thanks for the the explanation on hunspell. i really appreciate it.But the problem i have now is that hunspell programe suggests only the word in the testing dictionary, it did not generate word from affix rule for the language i ' m building the dictionary for. I tested it
with English dictionary and affix files, it worked very well.Below are testing affix and dictionary files.