ExtractKeyPhrasesResultCollection Class
- java.
lang. Object - com.
azure. core. util. IterableStream<T> - com.
azure. ai. textanalytics. util. ExtractKeyPhrasesResultCollection
- com.
- com.
public class ExtractKeyPhrasesResultCollection
extends IterableStream<ExtractKeyPhraseResult>
A collection model that contains a list of ExtractKeyPhraseResult along with model version and batch's statistics.
Constructor Summary
Constructor | Description |
---|---|
ExtractKeyPhrasesResultCollection(Iterable<ExtractKeyPhraseResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics) |
Creates a |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getModelVersion()
Gets the model version trained in service for the request. |
Text |
getStatistics()
Gets the batch statistics of response. |
Methods inherited from IterableStream
Methods inherited from java.lang.Object
Constructor Details
ExtractKeyPhrasesResultCollection
public ExtractKeyPhrasesResultCollection(Iterable
Creates a ExtractKeyPhrasesResultCollection
model that maintains a list of ExtractKeyPhraseResult along with model version and batch's statistics.
Parameters:
Method Details
getModelVersion
public String getModelVersion()
Gets the model version trained in service for the request.
Returns:
getStatistics
public TextDocumentBatchStatistics getStatistics()
Gets the batch statistics of response.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for