title: java language tool library, cannot find dependency
body: <p>I am using <a href="http://wiki.languagetool.org/java-api" rel="nofollow">this</a> example code to use the API. I don't want to use maven so I downloaded the jar files from <a href="https://languagetool.org/download/LanguageTool-3.5.zip" rel="nofollow">here</a>, and included the Jar files in org and lib to the build path, then tried to run the example code. I got this error:</p>
  
  <pre><code>Error:(15, 56) java: cannot find symbol
    symbol:   class BritishEnglish
    location: class draft
  Error:(3, 34) java: cannot find symbol
    symbol:   class BritishEnglish
    location: package org.languagetool.language
  </code></pre>
  
  <p>here is my code </p>
  
  <pre><code>import org.languagetool.JLanguageTool;
  import org.languagetool.language.BritishEnglish;
  import org.languagetool.rules.RuleMatch;
  import java.io.*;
  import java.util.List;
  
  public class draft {
      public static void main(String[] args) throws IOException {
  
          JLanguageTool langTool = new JLanguageTool(new BritishEnglish());
          // comment in to use statistical ngram data:
          //langTool.activateLanguageModelRules(new File("/data/google-ngram-data"));
          List&lt;RuleMatch&gt; 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 characters " +
                      match.getFromPos() + "-" + match.getToPos() + ": " +
                      match.getMessage());
              System.out.println("Suggested correction(s): " +
                      match.getSuggestedReplacements());
          }
      }
  }
  </code></pre>
  
  <p>I found this answer online, but I don't understand it.</p>
  
  <p>" BritishEnglish is in the "org" directory and not in the JARs, but you can put in a JAR like this: "zip -r languages.jar org/", then add languages.jar to your classpath like the other JARs. "</p>