Package opennlp.tools.formats.masc
Class MascNamedEntitySampleStreamFactory
java.lang.Object
opennlp.tools.formats.AbstractSampleStreamFactory<NameSample,MascNamedEntitySampleStreamFactory.Parameters>
opennlp.tools.formats.masc.MascNamedEntitySampleStreamFactory
- All Implemented Interfaces:
opennlp.tools.cmdline.ObjectStreamFactory<NameSample,
,MascNamedEntitySampleStreamFactory.Parameters> Masc
@Internal
public class MascNamedEntitySampleStreamFactory
extends AbstractSampleStreamFactory<NameSample,MascNamedEntitySampleStreamFactory.Parameters>
implements Masc
Note: Do not use this class, internal use only!
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface opennlp.tools.formats.masc.Masc
MASC_FORMAT
-
Method Summary
Methods inherited from class opennlp.tools.formats.AbstractSampleStreamFactory
getLang, getParameters
-
Method Details
-
registerFactory
public static void registerFactory() -
create
Description copied from interface:opennlp.tools.cmdline.ObjectStreamFactory
Creates anObjectStream
of the template typeT
.- Specified by:
create
in interfaceopennlp.tools.cmdline.ObjectStreamFactory<NameSample,
MascNamedEntitySampleStreamFactory.Parameters> - Parameters:
args
- arguments- Returns:
- The created
ObjectStream
instance.
-