public class AnalyzeSentimentResultCollection extends com.azure.core.util.IterableStream<AnalyzeSentimentResult>
AnalyzeSentimentResult
along with model version and
batch's statistics.Constructor and Description |
---|
AnalyzeSentimentResultCollection(Iterable<AnalyzeSentimentResult> documentResults,
String modelVersion,
TextDocumentBatchStatistics statistics)
Creates a
AnalyzeSentimentResultCollection model that maintains a list of AnalyzeSentimentResult
along with model version and batch's statistics. |
Modifier and Type | Method and Description |
---|---|
String |
getModelVersion()
Gets the model version trained in service for the request.
|
TextDocumentBatchStatistics |
getStatistics()
Gets the batch statistics of response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public AnalyzeSentimentResultCollection(Iterable<AnalyzeSentimentResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics)
AnalyzeSentimentResultCollection
model that maintains a list of AnalyzeSentimentResult
along with model version and batch's statistics.documentResults
- A list of AnalyzeSentimentResult
.modelVersion
- The model version trained in service for the request.statistics
- The batch statistics of response.public String getModelVersion()
public TextDocumentBatchStatistics getStatistics()
Copyright © 2021 Microsoft Corporation. All rights reserved.