Class DetectLanguageResultCollection

java.lang.Object
com.azure.core.util.IterableStream<DetectLanguageResult>
com.azure.ai.textanalytics.util.DetectLanguageResultCollection
All Implemented Interfaces:
Iterable<DetectLanguageResult>

public class DetectLanguageResultCollection extends IterableStream<DetectLanguageResult>
A collection model that contains a list of DetectLanguageResult along with model version and batch's statistics.
  • Constructor Details

  • Method Details

    • getModelVersion

      public String getModelVersion()
      Gets the model version trained in service for the request.
      Returns:
      The model version trained in service for the request.
    • getStatistics

      public TextDocumentBatchStatistics getStatistics()
      Gets the batch statistics of response.
      Returns:
      The batch statistics of response.