Class ConceptsResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.ConceptsResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ConceptsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The general concepts referenced or alluded to in the analyzed text.
-
Constructor Summary
Constructors Constructor Description ConceptsResult()
-
Method Summary
Modifier and Type Method Description String
getDbpediaResource()
Gets the dbpediaResource.Double
getRelevance()
Gets the relevance.String
getText()
Gets the text.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
ConceptsResult
public ConceptsResult()
-
-
Method Details
-
getText
Gets the text.Name of the concept.
- Returns:
- the text
-
getRelevance
Gets the relevance.Relevance score between 0 and 1. Higher scores indicate greater relevance.
- Returns:
- the relevance
-
getDbpediaResource
Gets the dbpediaResource.Link to the corresponding DBpedia resource.
- Returns:
- the dbpediaResource
-