Class KeyPhrasesCollection
- java.lang.Object
-
- com.azure.core.util.IterableStream<String>
-
- com.azure.ai.textanalytics.models.KeyPhrasesCollection
-
public final class KeyPhrasesCollection extends com.azure.core.util.IterableStream<String>
TheKeyPhrasesCollection
model.
-
-
Constructor Summary
Constructors Constructor Description KeyPhrasesCollection(com.azure.core.util.IterableStream<String> keyPhrases, com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings)
Creates aKeyPhrasesCollection
model that describes a key phrases collection including warnings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.util.IterableStream<TextAnalyticsWarning>
getWarnings()
Gets theIterableStream
ofText Analytics warnings
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
KeyPhrasesCollection
public KeyPhrasesCollection(com.azure.core.util.IterableStream<String> keyPhrases, com.azure.core.util.IterableStream<TextAnalyticsWarning> warnings)
Creates aKeyPhrasesCollection
model that describes a key phrases collection including warnings.- Parameters:
keyPhrases
- AnIterableStream
of key phrases.warnings
- AnIterableStream
ofwarnings
.
-
-
Method Detail
-
getWarnings
public com.azure.core.util.IterableStream<TextAnalyticsWarning> getWarnings()
Gets theIterableStream
ofText Analytics warnings
.- Returns:
IterableStream
ofTextAnalyticsWarning
.
-
-