mark.nlp.features
Class Method3
java.lang.Object
|
+--mark.nlp.features.ClassificationOrderer
|
+--mark.nlp.features.TwoLevelOrderer
|
+--mark.nlp.features.Method3
- All Implemented Interfaces:
- Orderer
- public class Method3
- extends TwoLevelOrderer
A TwoLevelOrderer that combines the first level score with the second
level scores according to the following formula:
<>
This orderer uses its double parameter in its calculation. See the
code.
|
Method Summary |
double |
combine(int wordIndex,
double score,
double[] catScores)
|
protected void |
setParameter(java.lang.String parameter)
Subclasses override the following function if they use the parameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method3
public Method3()
setParameter
protected void setParameter(java.lang.String parameter)
- Description copied from class:
ClassificationOrderer
- Subclasses override the following function if they use the parameter.
- Overrides:
setParameter in class ClassificationOrderer
- Parameters:
parameter - the parameter.
combine
public double combine(int wordIndex,
double score,
double[] catScores)
- Specified by:
combine in class TwoLevelOrderer