Package relations
Class RuleSet
- java.lang.Object
-
- relations.RuleSet
-
public class RuleSet extends Object
- Author:
- Chinh Date: Nov 9, 2011
-
-
Constructor Summary
Constructors Constructor Description RuleSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleapplyScore()doublegetCauseScore()Ratio of event has causedoublegetEv2Score()Ratio of event as causedoublegetEvtScore()Ratio of event as themeintgetFreq()Count frequency of this rule, should not use alone, use getScore instead.doublegetScore()Confident score for this rule, if this value is low, skip this ruledoublegetT1Score()For binding only; this value is used to determine whether to use pro in front of TG as theme/ or use t2 scoredoublegetT2Score()Theme 2 scoredoubleinchunkScore()Percentage of event has in chunk form, if this value is low, then skip in-chunk event
-
-
-
Method Detail
-
getEvtScore
public double getEvtScore()
Ratio of event as theme- Returns:
-
getCauseScore
public double getCauseScore()
Ratio of event has cause- Returns:
-
getEv2Score
public double getEv2Score()
Ratio of event as cause- Returns:
-
getT2Score
public double getT2Score()
Theme 2 score- Returns:
-
getFreq
public int getFreq()
Count frequency of this rule, should not use alone, use getScore instead.- Returns:
-
getT1Score
public double getT1Score()
For binding only; this value is used to determine whether to use pro in front of TG as theme/ or use t2 score- Returns:
-
getScore
public double getScore()
Confident score for this rule, if this value is low, skip this rule- Returns:
- : score
-
inchunkScore
public double inchunkScore()
Percentage of event has in chunk form, if this value is low, then skip in-chunk event- Returns:
-
applyScore
public double applyScore()
-
-