code: public void trainSentence(Word2VecParam param, final List<VocabWord> sentence, double alpha,
                      List<Triple<Integer, Integer, Integer>> changed) {
          if (sentence != null && !sentence.isEmpty()) {
              for (int i = 0; i < sentence.size(); i++) {
                  VocabWord vocabWord = sentence.get(i);
                  if (vocabWord != null && vocabWord.getWord().endsWith("STOP")) {
                      nextRandom.set(nextRandom.get() * 25214903917L + 11);
                      skipGram(param, i, sentence, (int) nextRandom.get() % param.getWindow(), alpha, changed);
                  }
              }
          }
      }
docs: Train on a list of vocab words
  @param sentence the list of vocab words to train on