public class Result extends GenericModel
ConceptInsights.conceptualSearch(Corpus, Map)
.Constructor and Description |
---|
Result() |
Modifier and Type | Method and Description |
---|---|
List<Annotation> |
getAnnotations()
Gets the explanation tags.
|
List<Annotation> |
getExplanationTags()
Gets the explanation tags.
|
String |
getId()
Gets the id.
|
String |
getLabel()
Gets the label.
|
Double |
getScore()
Gets the score.
|
Map<String,String> |
getUserFields()
Gets the user fields.
|
void |
setAnnotations(List<Annotation> explanationTags)
Sets the explanation tags.
|
void |
setExplanationTags(List<Annotation> explanationTags)
Sets the explanation tags.
|
void |
setId(String id)
Sets the id.
|
void |
setLabel(String label)
Sets the label.
|
void |
setScore(Double score)
Sets the score.
|
void |
setUserFields(Map<String,String> userFields)
Sets the user fields.
|
equals, hashCode, toString
public List<Annotation> getExplanationTags()
public void setExplanationTags(List<Annotation> explanationTags)
explanationTags
- the new explanation tagspublic Map<String,String> getUserFields()
public void setUserFields(Map<String,String> userFields)
userFields
- the user fieldspublic List<Annotation> getAnnotations()
public String getId()
public String getLabel()
public Double getScore()
public void setAnnotations(List<Annotation> explanationTags)
explanationTags
- The explanation_tagspublic void setId(String id)
id
- The idpublic void setLabel(String label)
label
- The labelpublic void setScore(Double score)
score
- The scoreCopyright © 2015–2016. All rights reserved.