Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I am interfacing hunspell 1.1.8 (libhunspell-1.1.so) from java using JNA=20
(https://jna.dev.java.net) on linux. I managed to pass strings from/to=20
I am using the C language interface (the functions defined in hunspell.h).
I tried to use the fr_FR dictionary available with OpenOffice.org to check=
The interesting thing I found was that when asking for suggestions with=20
Hunspell_suggest() I get different results than those returned by the=20
hunspell program when using the library.
To be specific:
When running my java program I get for this "ecole" in fr_FR:
If I debug the same program I get
Then hunspell gives me this:
bartkoz@...:~/.openoffice.org2/user/wordbook> hunspell -d fr_FR
& ecole 2 0: recole, =E9cole
=46urther on, the same java code was tested by a fellow on a Mac, he recei=
(the question mark should stand for e acute or =E9).
Then: if I use Hunspell_spell() to check "=E9cole", it tells me it is ok (1=
But the same code on a mac says 0. But the word appears in the suggestion=20
Any ideas? If you wish, I may send you the java code, too.
Thanks in advance
PS: I would have used Hungarian - but I suppose not all readers would=20