public class ExtractKeyPhrasesResultCollection extends com.azure.core.util.IterableStream<ExtractKeyPhraseResult>
ExtractKeyPhraseResult
along with model version and
batch's statistics.Constructor and Description |
---|
ExtractKeyPhrasesResultCollection(Iterable<ExtractKeyPhraseResult> documentResults,
String modelVersion,
TextDocumentBatchStatistics statistics)
Create a
ExtractKeyPhrasesResultCollection model that maintains a list of ExtractKeyPhraseResult
along with model version and batch's statistics. |
Modifier and Type | Method and Description |
---|---|
String |
getModelVersion()
Get the model version trained in service for the request.
|
TextDocumentBatchStatistics |
getStatistics()
Get the batch statistics of response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ExtractKeyPhrasesResultCollection(Iterable<ExtractKeyPhraseResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics)
ExtractKeyPhrasesResultCollection
model that maintains a list of ExtractKeyPhraseResult
along with model version and batch's statistics.documentResults
- A list of ExtractKeyPhraseResult
.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.