code: public static ObjectStream<SequenceLabelSample> getSequenceStream(
        final String inputData, final String clearFeatures,
        final String aCorpusFormat) throws IOException {
      ObjectStream<SequenceLabelSample> samples = null;
      if (aCorpusFormat.equalsIgnoreCase("conll03")) {
        final ObjectStream<String> nameStream = IOUtils
            .readFileIntoMarkableStreamFactory(inputData);
        samples = new CoNLL03Format(clearFeatures, nameStream);
      } else if (aCorpusFormat.equalsIgnoreCase("conll02")) {
        final ObjectStream<String> nameStream = IOUtils
            .readFileIntoMarkableStreamFactory(inputData);
        samples = new CoNLL02Format(clearFeatures, nameStream);
      } else if (aCorpusFormat.equalsIgnoreCase("tabulated")) {
        final ObjectStream<String> nameStream = IOUtils
            .readFileIntoMarkableStreamFactory(inputData);
        samples = new TabulatedFormat(clearFeatures, nameStream);
      } else if (aCorpusFormat.equalsIgnoreCase("lemmatizer")) {
        final ObjectStream<String> seqStream = IOUtils
            .readFileIntoMarkableStreamFactory(inputData);
        samples = new LemmatizerFormat(clearFeatures, seqStream);
      } else {
        System.err.println("Test set corpus format not valid!!");
        System.exit(1);
      }
      return samples;
    }
docs: Getting the stream with the right corpus format.
  
  @param inputData
  the input data
  @param clearFeatures
  clear the features
  @param aCorpusFormat
  the corpus format
  @return the stream from the several corpus formats
  @throws IOException
  the io exception