Class CategoriesResultExplanation
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.CategoriesResultExplanation
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CategoriesResultExplanation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information that helps to explain what contributed to the categories result.
-
Constructor Summary
Constructors Constructor Description CategoriesResultExplanation()
-
Method Summary
Modifier and Type Method Description List<CategoriesRelevantText>
getRelevantText()
Gets the relevantText.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
CategoriesResultExplanation
public CategoriesResultExplanation()
-
-
Method Details
-
getRelevantText
Gets the relevantText.An array of relevant text from the source that contributed to the categorization. The sorted array begins with the phrase that contributed most significantly to the result, followed by phrases that were less and less impactful.
- Returns:
- the relevantText
-