code: public Corpus getCorpus() {
        return Corpus.builder()
                     .distributed(distributed)
                     .source(inputFormat, input)
                     .build();
     }
docs: Creates a corpus based on the command line parameters.
  
  @return the corpus