Well, by looing at the C++ source of Hunspell, I finally figured it out; the Hunspell library doesn't use personal dictionaries - only the Hunspell CLI (Command Line Interface) uses it, so there is no way (unless you write your own custom code) to use it from JNA or BridJ.
hunspell from java with personal dictionary
Pergunta
I have two options to use hunspell from java:
- Hunspell JNA or
- Hunspell BridJ
Both of them works fine, but I would like to use the "personal dictionary" feature of hunspell (when calling hunspell from command line, the -p parameter).
Is there a way to use Hunspell JNA or BridJ with this parameter, or with the same funcionality?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow