Package opennlp.tools.formats.brat
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 Summary
Methods inherited from class opennlp.tools.formats.AbstractSampleStreamFactory
getLang, getParameters
-
Method Details
-
create
Description copied from interface:opennlp.tools.cmdline.ObjectStreamFactory
Creates anObjectStream
of the template typeT
.- Parameters:
args
- arguments- Returns:
- The created
ObjectStream
instance.
-
registerFactory
public static void registerFactory()
-