public class InterpretationNode extends ParentNode<IntentNode>
Modifier and Type | Field and Description |
---|---|
private Interpretation |
interpretation |
Constructor and Description |
---|
InterpretationNode(Interpretation interpretation) |
Modifier and Type | Method and Description |
---|---|
Interpretation |
getInterpretation()
Returns this interpretation.
|
double |
getScore()
Returns the probability of the interpretation of this
|
void |
setInterpretation(Interpretation interpretation)
Sets this interpretation
|
void |
setScore(double score)
Sets the probability of the interpretation of this
|
String |
toString()
Returns interpretations toString()
|
addSources, children
compareTo, increaseScore
private Interpretation interpretation
public InterpretationNode(Interpretation interpretation)
public Interpretation getInterpretation()
public void setInterpretation(Interpretation interpretation)
public double getScore()
public void setScore(double score)
Copyright © 2017. All rights reserved.