com.datastax.nlp.QAEntity Maven / Gradle / Ivy
The newest version!
package com.datastax.nlp;
import java.util.List;
public class QAEntity {
private String category;
private List labels;
private String question;
private String answer;
private float score=1.0F;
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public List getLabels() {
return labels;
}
public void setLabels(List labels) {
this.labels = labels;
}
public String getQuestion() {
return question;
}
public void setQuestion(String question) {
this.question = question;
}
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
this.answer = answer;
}
public float getScore() {
return score;
}
public void setScore(float score) {
this.score = score;
}
}