Back to LanguageTool Homepage - Privacy - Imprint


i am using languagetool-1.9.jar for my simple java application.

here is the sample code got from your site.

JLanguageTool langTool = new JLanguageTool(new AmericanEnglish());
List matches = langTool.check("A sentence " +
“with a error in the Hitchhiker’s Guide tot he Galaxy”);

for (RuleMatch match : matches) {
  System.out.println("Potential error at line " +
      match.getLine() + ", column " +
      match.getColumn() + ": " + match.getMessage());
  System.out.println("Suggested correction: " +

i am getting below error while running above code in eclipse.

Exception in thread “main” java.lang.NoClassDefFoundError: morfologik/stemming/IStemmer
at org.languagetool.language.English.getTagger(
at org.languagetool.JLanguageTool.(
at org.languagetool.JLanguageTool.(

and then i just go through your site for solve this error.
but i can’t understand.please help me proceed further.

This has been discussed at - if that doesn’t help, you’ll need to provide more details (do you use Maven, which IDE do you use etc).