Class OntoNotesParseSampleStream

java.lang.Object
opennlp.tools.util.FilterObjectStream<String, opennlp.tools.parser.Parse>
opennlp.tools.formats.ontonotes.OntoNotesParseSampleStream
All Implemented Interfaces:
AutoCloseable, opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse>

public class OntoNotesParseSampleStream extends opennlp.tools.util.FilterObjectStream<String, opennlp.tools.parser.Parse>
  • Constructor Details

    • OntoNotesParseSampleStream

      public OntoNotesParseSampleStream(opennlp.tools.util.ObjectStream<String> samples)
      Parameters:
      samples - The samples as input. Must not be null.
      Throws:
      IllegalArgumentException - Thrown if parameters are invalid.
  • Method Details