code: private void loadDictionary(final InputStream dictInputStream)
        throws IOException {
      dictionary = new HashMap<String, String>();
      final BufferedReader breader = new BufferedReader(
          new InputStreamReader(dictInputStream, Charset.forName("UTF-8")));
      String line;
      while ((line = breader.readLine()) != null) {
        final String[] lineArray = tabPattern.split(line);
        if (lineArray.length == 4) {
          final Matcher lineMatcher = linePattern
              .matcher(lineArray[0].toLowerCase());
          dictionary.put(lineMatcher.replaceAll(" "), lineArray[2]);
        } else {
          System.err.println("WARNING: line starting with " + lineArray[0]
              + " is not well-formed; skipping!!");
        }
      }
    }
docs: Load the dictionaries.
  
  @throws IOException
  if io problems