code: public static ObjectStream<Parse> getParseStream(final String inputData)
        throws IOException {
      final ObjectStream<String> parseStream = IOUtils
          .readFileIntoMarkableStreamFactory(inputData);
      final ObjectStream<Parse> samples = new ParseSampleStream(parseStream);
      return samples;
    }
docs: Getting the stream with the right corpus format.
  
  @param inputData
  the input data
  @return the stream from the several corpus formats
  @throws IOException
  the io exception