Class POSToSentenceSampleStreamFactory
java.lang.Object
opennlp.tools.formats.AbstractSampleStreamFactory<SentenceSample, POSToSentenceSampleStreamFactory.Parameters>
opennlp.tools.formats.DetokenizerSampleStreamFactory<SentenceSample, POSToSentenceSampleStreamFactory.Parameters>
opennlp.tools.formats.convert.POSToSentenceSampleStreamFactory
- All Implemented Interfaces:
ObjectStreamFactory<SentenceSample, POSToSentenceSampleStreamFactory.Parameters>
@Internal
public class POSToSentenceSampleStreamFactory
extends DetokenizerSampleStreamFactory<SentenceSample, POSToSentenceSampleStreamFactory.Parameters>
Note:
Do not use this class, internal use only!
- See Also:
-
Nested Class Summary
Nested Classes -
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
-
POSToSentenceSampleStreamFactory
protected POSToSentenceSampleStreamFactory(Class<POSToSentenceSampleStreamFactory.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.
-