Class OntoNotesNameSampleStream

java.lang.Object
opennlp.tools.util.FilterObjectStream<String, opennlp.tools.namefind.NameSample>
opennlp.tools.formats.ontonotes.OntoNotesNameSampleStream
All Implemented Interfaces:
AutoCloseable, opennlp.tools.util.ObjectStream<opennlp.tools.namefind.NameSample>

public class OntoNotesNameSampleStream extends opennlp.tools.util.FilterObjectStream<String, opennlp.tools.namefind.NameSample>
Name Sample Stream parser for the OntoNotes 4.0 named entity files.
  • Constructor Details

    • OntoNotesNameSampleStream

      public OntoNotesNameSampleStream(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