public class InterpretationNode extends ParentNode<IntentNode>
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()
|
children
compareTo, increaseScore
public InterpretationNode(Interpretation interpretation)
public Interpretation getInterpretation()
public void setInterpretation(Interpretation interpretation)
public double getScore()
public void setScore(double score)
Copyright © 2018. All rights reserved.