public class ConceptsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
dbpediaResource |
protected java.lang.Double |
relevance |
protected java.lang.String |
text |
| Constructor and Description |
|---|
ConceptsResult() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDbpediaResource()
Gets the dbpediaResource.
|
java.lang.Double |
getRelevance()
Gets the relevance.
|
java.lang.String |
getText()
Gets the text.
|
protected java.lang.String text
protected java.lang.Double relevance
@SerializedName(value="dbpedia_resource") protected java.lang.String dbpediaResource
public java.lang.String getText()
Name of the concept.
public java.lang.Double getRelevance()
Relevance score between 0 and 1. Higher scores indicate greater relevance.
public java.lang.String getDbpediaResource()
Link to the corresponding DBpedia resource.