docs: public void buildModel(String wordFileName) throws IOException {
          BufferedReader br = new BufferedReader(new FileReader(new File(wordFileName)));
  
          String str;
          while ((str = br.readLine()) != null) {
              List<String> tokens = StanfordParser.stanfordTokenize(str).stream().map(CoreLabel::originalText).collect(Collectors.toList());
              for (String word : tokens) {
                  double count = model.wordProbability.containsKey(word) ? model.wordProbability.get(word) : 0;
                  count++;
                  model.wordProbability.put(word, count);
              }
          }
          br.close();
  
          // Remove Empty prob.
          model.wordProbability.remove(StringUtils.EMPTY);
          model.normalizeWordProbability();
      }