Uses of Class
opennlp.tools.sentiment.SentimentSample
Packages that use SentimentSample
-
Uses of SentimentSample in opennlp.tools.formats
Methods in opennlp.tools.formats that return types with arguments of type SentimentSampleModifier and TypeMethodDescriptionCreates a sentiment sample stream. -
Uses of SentimentSample in opennlp.tools.sentiment
Fields in opennlp.tools.sentiment declared as SentimentSampleModifier and TypeFieldDescriptionprivate SentimentSampleSentimentCrossValidator.SentimentToDocumentSampleStream.beginSampleprivate final SentimentSample[]SentimentCrossValidator.DocumentSample.samplesFields in opennlp.tools.sentiment with type parameters of type SentimentSampleModifier and TypeFieldDescriptionprivate Iterator<SentimentSample> SentimentCrossValidator.DocumentToSentimentSampleStream.documentSamplesMethods in opennlp.tools.sentiment that return SentimentSampleModifier and TypeMethodDescriptionprivate SentimentSample[]SentimentCrossValidator.DocumentSample.getSamples()Returns the short description of the toolprotected SentimentSampleSentimentEvaluator.processSample(SentimentSample reference) Evaluates the given referenceEvaluatorsample object.SentimentCrossValidator.DocumentToSentimentSampleStream.read()Reads Document Sample into SentimentSampleSentimentSampleStream.read()Reads the text.SentimentSampleTypeFilter.read()Methods in opennlp.tools.sentiment with parameters of type SentimentSampleModifier and TypeMethodDescriptionSentimentEventStream.createEvents(SentimentSample sample) Creates events fromsentiment samples.protected SentimentSampleSentimentEvaluator.processSample(SentimentSample reference) Evaluates the given referenceEvaluatorsample object.Method parameters in opennlp.tools.sentiment with type arguments of type SentimentSampleModifier and TypeMethodDescriptionvoidSentimentCrossValidator.evaluate(ObjectStream<SentimentSample> samples, int nFolds) Performs evaluationstatic SentimentModelSentimentME.train(String languageCode, ObjectStream<SentimentSample> samples, TrainingParameters trainParams, SentimentFactory factory) Trains aSentiment Analysis model.Constructors in opennlp.tools.sentiment with parameters of type SentimentSampleModifierConstructorDescription(package private)DocumentSample(SentimentSample[] samples) ConstructorConstructor parameters in opennlp.tools.sentiment with type arguments of type SentimentSampleModifierConstructorDescriptionSentimentEventStream(ObjectStream<SentimentSample> samples, SentimentContextGenerator createContextGenerator) Instantiates aevent stream.SentimentSampleTypeFilter(String[] types, ObjectStream<SentimentSample> samples) ConstructorSentimentSampleTypeFilter(Set<String> types, ObjectStream<SentimentSample> samples) Instantiates aSentimentSampleTypeFilterobject.protectedConstructor