public class SentimentSampleStreamFactory extends opennlp.tools.formats.AbstractSampleStreamFactory<SentimentSample>
| Modifier | Constructor and Description |
|---|---|
protected |
SentimentSampleStreamFactory(Class<P> params)
The constructor of the class; initialises the factory
|
| Modifier and Type | Method and Description |
|---|---|
opennlp.tools.util.ObjectStream<SentimentSample> |
create(String[] args)
Creates a sentiment sample stream factory
|
static void |
registerFactory()
Registers a SentimentSample stream factory
|
protected SentimentSampleStreamFactory(Class<P> params)
params - any given parameterspublic opennlp.tools.util.ObjectStream<SentimentSample> create(String[] args)
args - the necessary argumentspublic static void registerFactory()
Copyright © 2016. All rights reserved.