Class ParseSampleStreamFactory<P>

java.lang.Object
opennlp.tools.formats.AbstractSampleStreamFactory<Parse,P>
opennlp.tools.formats.ParseSampleStreamFactory<P>
All Implemented Interfaces:
opennlp.tools.cmdline.ObjectStreamFactory<Parse,P>

public class ParseSampleStreamFactory<P> extends AbstractSampleStreamFactory<Parse,P>
Factory producing OpenNLP ParseSampleStreams.
  • Method Details

    • registerFactory

      public static void registerFactory()
    • create

      public ObjectStream<Parse> 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.