Class OntoNotesPOSSampleStreamFactory

java.lang.Object
opennlp.tools.formats.AbstractSampleStreamFactory<POSSample,OntoNotesFormatParameters>
opennlp.tools.formats.ontonotes.OntoNotesPOSSampleStreamFactory
All Implemented Interfaces:
opennlp.tools.cmdline.ObjectStreamFactory<POSSample,OntoNotesFormatParameters>

public class OntoNotesPOSSampleStreamFactory extends AbstractSampleStreamFactory<POSSample,OntoNotesFormatParameters>
  • Method Details

    • create

      public ObjectStream<POSSample> create(String[] args)
      Description copied from interface: opennlp.tools.cmdline.ObjectStreamFactory
      Creates an ObjectStream of the template type T.
      Parameters:
      args - arguments
      Returns:
      The created ObjectStream instance.
    • registerFactory

      public static void registerFactory()