public final class ExtractKeyPhraseResult extends TextAnalyticsResult
ExtractKeyPhraseResult model.| Constructor and Description |
|---|
ExtractKeyPhraseResult(String id,
TextDocumentStatistics textDocumentStatistics,
TextAnalyticsError error,
KeyPhrasesCollection keyPhrases)
Creates a
ExtractKeyPhraseResult model that describes extracted key phrases result. |
| Modifier and Type | Method and Description |
|---|---|
KeyPhrasesCollection |
getKeyPhrases()
Gets a
KeyPhrasesCollection contains a list of key phrases and warnings. |
getError, getId, getStatistics, isErrorpublic ExtractKeyPhraseResult(String id, TextDocumentStatistics textDocumentStatistics, TextAnalyticsError error, KeyPhrasesCollection keyPhrases)
ExtractKeyPhraseResult model that describes extracted key phrases result.id - Unique, non-empty document identifier.textDocumentStatistics - The text document statistics.error - The document error.keyPhrases - A KeyPhrasesCollection contains a list of key phrases and warnings.public KeyPhrasesCollection getKeyPhrases()
KeyPhrasesCollection contains a list of key phrases and warnings.KeyPhrasesCollection contains a list of key phrases and warnings.TextAnalyticsException - if result has isError equals to true and when a non-error property
was accessed.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.