Class BratNameSampleStreamFactory

java.lang.Object
opennlp.tools.formats.AbstractSampleStreamFactory<NameSample,opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters>
opennlp.tools.formats.brat.BratNameSampleStreamFactory
All Implemented Interfaces:
opennlp.tools.cmdline.ObjectStreamFactory<NameSample,opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters>

public class BratNameSampleStreamFactory extends AbstractSampleStreamFactory<NameSample,opennlp.tools.formats.brat.BratNameSampleStreamFactory.Parameters>
  • Method Details

    • create

      public ObjectStream<NameSample> 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()