Class IntentNode

All Implemented Interfaces:
Comparable<Node>

public class IntentNode extends ParentNode<SourceNode>
An intent in an intent model tree. The intent node score is the probability of this intent given the parent interpretation.
Author:
bratseth
  • Constructor Details

    • IntentNode

      public IntentNode(Intent intent, double probabilityScore)
  • Method Details

    • getIntent

      public Intent getIntent()
      Returns the intent of this node, this is never null
    • setIntent

      public void setIntent(Intent intent)
    • toString

      public String toString()
      Returns intent:probability
      Overrides:
      toString in class Object