Class KeyPhrasesCollection
The
KeyPhrasesCollection
model.-
Constructor Summary
ConstructorDescriptionKeyPhrasesCollection
(IterableStream<String> keyPhrases, IterableStream<TextAnalyticsWarning> warnings) Creates aKeyPhrasesCollection
model that describes a key phrases collection including warnings. -
Method Summary
Methods inherited from class com.azure.core.util.IterableStream
iterator, of, stream
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 Details
-
KeyPhrasesCollection
public KeyPhrasesCollection(IterableStream<String> keyPhrases, IterableStream<TextAnalyticsWarning> warnings) Creates aKeyPhrasesCollection
model that describes a key phrases collection including warnings.- Parameters:
keyPhrases
- AnIterableStream
of key phrases.warnings
- AnIterableStream
ofwarnings
.
-
-
Method Details
-
getWarnings
Gets theIterableStream
ofText Analytics warnings
.- Returns:
IterableStream
ofTextAnalyticsWarning
.
-