質問

I would like to use hunspell in my C program. I'm working in a Unix environment (shell) and it has already hunspell built in. I know I can use by typing hunspell filename at the command line, but I wanna know how to use it inside my program. Ultimately I want to store every dictionary word but first I just want to know how to import it into my program. Like is there #include type of thing?

役に立ちましたか?

解決

Yes, there's a hunspell API you can use through #include <hunspell/hunspell.h> The API details can be found at the hunspell documentation page (hunspell3.pdf). Examples are a bit scarce, but this or this should get you started.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top