RecognizeCustomEntitiesResultCollection Class
- java.
lang. Object - com.
azure. core. util. IterableStream<T> - com.
azure. ai. textanalytics. util. RecognizeCustomEntitiesResultCollection
- com.
- com.
public final class RecognizeCustomEntitiesResultCollection
extends IterableStream<RecognizeEntitiesResult>
A collection model that contains a list of RecognizeEntitiesResult along with project name, deployment name and batch's statistics.
Constructor Summary
| Constructor | Description |
|---|---|
| RecognizeCustomEntitiesResultCollection(Iterable<RecognizeEntitiesResult> documentResults) |
Create a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getDeploymentName()
Gets the name of the deployment being consumed. |
| String |
getProjectName()
Gets the name of the project which owns the model being consumed. |
|
Text |
getStatistics()
Get the batch statistics of response. |
Methods inherited from IterableStream
Methods inherited from java.lang.Object
Constructor Details
RecognizeCustomEntitiesResultCollection
public RecognizeCustomEntitiesResultCollection(Iterable<RecognizeEntitiesResult> documentResults)
Create a RecognizeCustomEntitiesResultCollection model that maintains a list of RecognizeEntitiesResult along with model version and batch's statistics.
Parameters:
Method Details
getDeploymentName
public String getDeploymentName()
Gets the name of the deployment being consumed.
Returns:
getProjectName
public String getProjectName()
Gets the name of the project which owns the model being consumed.
Returns:
getStatistics
public TextDocumentBatchStatistics getStatistics()
Get the batch statistics of response.
Returns: