Class SummarySentenceCollection
java.lang.Object
com.azure.core.util.IterableStream<SummarySentence>
com.azure.ai.textanalytics.models.SummarySentenceCollection
- All Implemented Interfaces:
Iterable<SummarySentence>
The
SummarySentenceCollection
model.-
Constructor Summary
ConstructorDescriptionSummarySentenceCollection
(IterableStream<SummarySentence> sentences, IterableStream<TextAnalyticsWarning> warnings) Creates aSummarySentenceCollection
model that describes a extractive summarization sentence 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
-
SummarySentenceCollection
public SummarySentenceCollection(IterableStream<SummarySentence> sentences, IterableStream<TextAnalyticsWarning> warnings) Creates aSummarySentenceCollection
model that describes a extractive summarization sentence collection including warnings.- Parameters:
sentences
- AnIterableStream
ofSummarySentence
.warnings
- AnIterableStream
ofwarnings
.
-
-
Method Details
-
getWarnings
Get theIterableStream
ofText Analytics warnings
.- Returns:
IterableStream
ofTextAnalyticsWarning
.
-