code: public boolean loadDictionary(InputStream corpus, int termIndex, int countIndex) {
      if (corpus == null) {
        return false;
      }
      BufferedReader br = new BufferedReader(new InputStreamReader(corpus, StandardCharsets.UTF_8));
      return loadDictionary(br, termIndex, countIndex);
    }
docs: / <returns>True if file loaded, or false if file not found.</returns>