Back to LanguageTool Homepage - Privacy - Imprint

Help for Italian Spell Checker

Hi, i would like to use LT for autocorrection of chat conversations.
I have already implemented this for the “known” words but i am not able to get suggestions for words added to “added.txt” in resource folder.

Example: the word “tethering”.
I can tell this is not included in LT italian dictionary because if i call getUnknownWords() i get [tethering].

So i add the row

 tethering tethering NOUN-M:s

to added.txt

Now i call getUnknownWords() and i get [tethering].

But if i write “tehtering” i don’t get any suggestion.

So i would like to know how to get it spelled by the engine.
Actually, it seems that hunspell is used, even if in the latest answers of this thread:

Daniel Nabel states that hunspell is not used for italian. If i delete the hunspell folder inside the resources path, the recognition stops, so i am almost sure hunspell is used.

Anyway, can anyone help me in adding a word to be spellchecked?
Thanks in advance
Simone Tomaselli

There was a bug about the suggestions, it should be fixed if you use the latest snapshots from;O=D and put the additional words to spelling.txt instead of added.txt.

Hunspell isn’t used for Italian, it’s just that the folder has a misleading name (well, the data is still from a hunspell dictionary, but it’s not the Hunspell software that is used for Italian).


Hi Daniel.
I replaced all the libraries, but now i get a java error:

Exception in thread “Thread-2” java.lang.NoClassDefFoundError: com/carrotsearch/hppc/ArraySizingStrategy
at org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller.getDictionary(
at org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller.getPlainTextDictOrNull(
at org.languagetool.rules.spelling.morfologik.MorfologikMultiSpeller.(
at org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule.match(
at org.languagetool.JLanguageTool.checkAnalyzedSentence(
at org.languagetool.JLanguageTool$
at org.languagetool.JLanguageTool$
at org.languagetool.JLanguageTool.performCheck(
at org.languagetool.JLanguageTool.check(
at org.languagetool.JLanguageTool.check(
at org.languagetool.JLanguageTool.check(
at com.indra.AIMLBot.AIMLBot.correct(

I cut the error but it happens as soon i call languageTool.check.

Has anything changed in the APIs?

Sorry, my fault (hppc.jar had disappeared from the build path).

Anyway, now the additional dictionary works!

Thanks a lot