Class 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 Detail

      • 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()