Package com.yahoo.search.intent.model
Class IntentNode
- java.lang.Object
-
- com.yahoo.search.intent.model.Node
-
- com.yahoo.search.intent.model.ParentNode<SourceNode>
-
- com.yahoo.search.intent.model.IntentNode
-
- All Implemented Interfaces:
java.lang.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 Summary
Constructors Constructor Description IntentNode(Intent intent, double probabilityScore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Intent
getIntent()
Returns the intent of this node, this is never nullvoid
setIntent(Intent intent)
java.lang.String
toString()
Returns intent:probability-
Methods inherited from class com.yahoo.search.intent.model.ParentNode
children
-
-
-
-
Constructor Detail
-
IntentNode
public IntentNode(Intent intent, double probabilityScore)
-
-