code: public void fitLists(JavaRDD<List<T>> corpus) {
          // we just convert List to sequences
          JavaRDD<Sequence<T>> rdd = corpus.map(new ListSequenceConvertFunction<T>());
  
          // and use fitSequences()
          fitSequences(rdd);
      }
docs: Utility method. fitSequences() used within.
  
  PLEASE NOTE: This method can't be used to train for labels, since List<T> can't hold labels. If you need labels - consider manual Sequence creation instead.
  
  @param corpus