Class NameToSentenceSampleStreamFactory
java.lang.Object
opennlp.tools.formats.AbstractSampleStreamFactory<SentenceSample, NameToSentenceSampleStreamFactory.Parameters>
opennlp.tools.formats.DetokenizerSampleStreamFactory<SentenceSample, NameToSentenceSampleStreamFactory.Parameters>
opennlp.tools.formats.convert.NameToSentenceSampleStreamFactory
- All Implemented Interfaces:
ObjectStreamFactory<SentenceSample, NameToSentenceSampleStreamFactory.Parameters>
@Internal
public class NameToSentenceSampleStreamFactory
extends DetokenizerSampleStreamFactory<SentenceSample, NameToSentenceSampleStreamFactory.Parameters>
Note:
Do not use this class, internal use only!
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface -
Field Summary
Fields inherited from class AbstractSampleStreamFactory
params -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Methods inherited from class DetokenizerSampleStreamFactory
createDetokenizerMethods inherited from class AbstractSampleStreamFactory
getLang, getParameters, readData, validateBasicFormatParameters
-
Constructor Details
-
NameToSentenceSampleStreamFactory
protected NameToSentenceSampleStreamFactory(Class<NameToSentenceSampleStreamFactory.Parameters> params)
-
-
Method Details
-
registerFactory
public static void registerFactory() -
create
Description copied from interface:ObjectStreamFactoryCreates anObjectStreamof the template typeT.- Parameters:
args- arguments- Returns:
- The created
ObjectStreaminstance.
-