KeyPhrasesCollection Class

public final class KeyPhrasesCollection
extends IterableStream<String>

The KeyPhrasesCollection model.

Constructor Summary

Constructor Description
KeyPhrasesCollection(IterableStream<String> keyPhrases, IterableStream<TextAnalyticsWarning> warnings)

Creates a KeyPhrasesCollection model that describes a key phrases collection including warnings.

Method Summary

Modifier and Type Method and Description
IterableStream<TextAnalyticsWarning> getWarnings()

Gets the IterableStream<T> of TextAnalyticsWarning.

Methods inherited from IterableStream

Methods inherited from java.lang.Object

Constructor Details

KeyPhrasesCollection

public KeyPhrasesCollection(IterableStream keyPhrases, IterableStream warnings)

Creates a KeyPhrasesCollection model that describes a key phrases collection including warnings.

Parameters:

keyPhrases - An IterableStream<T> of key phrases.

Method Details

getWarnings

public IterableStream getWarnings()

Gets the IterableStream<T> of TextAnalyticsWarning.

Returns:

Applies to