CategorizedEntityCollection Class
- java.
lang. Object - com.
azure. core. util. IterableStream<T> - com.
azure. ai. textanalytics. models. CategorizedEntityCollection
- com.
- com.
public final class CategorizedEntityCollection
extends IterableStream<CategorizedEntity>
The CategorizedEntityCollection model.
Constructor Summary
| Constructor | Description |
|---|---|
| CategorizedEntityCollection(IterableStream<CategorizedEntity> entities, IterableStream<TextAnalyticsWarning> warnings) |
Creates a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Iterable |
getWarnings()
Gets the IterableStream<T> of TextAnalyticsWarning. |
Methods inherited from IterableStream
Methods inherited from java.lang.Object
Constructor Details
CategorizedEntityCollection
public CategorizedEntityCollection(IterableStream<CategorizedEntity> entities, IterableStream<TextAnalyticsWarning> warnings)
Creates a CategorizedEntityCollection model that describes a entities collection including warnings.
Parameters:
Method Details
getWarnings
public IterableStream<TextAnalyticsWarning> getWarnings()
Gets the IterableStream<T> of TextAnalyticsWarning.
Returns: