KeyPhrasesCollection Class
- java.
lang. Object - com.
azure. core. util. IterableStream<T> - com.
azure. ai. textanalytics. models. KeyPhrasesCollection
- com.
- com.
public final class KeyPhrasesCollection
extends IterableStream<String>
The KeyPhrasesCollection model.
Constructor Summary
| Constructor | Description |
|---|---|
| KeyPhrasesCollection(IterableStream<String> keyPhrases, 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
KeyPhrasesCollection
public KeyPhrasesCollection(IterableStream<String> keyPhrases, IterableStream<TextAnalyticsWarning> warnings)
Creates a KeyPhrasesCollection model that describes a key phrases collection including warnings.
Parameters:
Method Details
getWarnings
public IterableStream<TextAnalyticsWarning> getWarnings()
Gets the IterableStream<T> of TextAnalyticsWarning.
Returns: