|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unima.alcomox.mapping.Characteristic
public class Characteristic
Characterises the relation between two Alignments in terms of recall, precision and f-value.
Constructor Summary | |
---|---|
Characteristic()
Constructs an empty characteristic which is a characteristic for an Alignment of cardinality zero. |
|
Characteristic(Alignment Alignment,
Alignment reference)
Constructs a characteristic based by comparing two Alignments. |
Method Summary | |
---|---|
double |
getFMeasure()
Returns the f-measure. |
int |
getNumOfRulesCorrect()
|
int |
getNumOfRulesGold()
|
int |
getNumOfRulesMatcher()
|
double |
getPrecision()
Returns the precision. |
double |
getRecall()
Returns the recall. |
void |
join(Characteristic c)
Joins this Alignment with another Alignment by summing up relevant characteristics in absolute numbers. |
static boolean |
strictEvaluationActive()
|
java.lang.String |
toShortDesc()
|
java.lang.String |
toString()
Returns a string representation. |
static void |
useDiffuseEvaluation()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Characteristic()
public Characteristic(Alignment Alignment, Alignment reference)
Alignment
- The Alignment under discussion.reference
- The reference Alignment.
ALCOMOException
- Thrown if the namespaces of the Alignments differ.Method Detail |
---|
public void join(Characteristic c)
c
- The other charcteristic.public java.lang.String toString()
toString
in class java.lang.Object
public double getFMeasure()
public double getPrecision()
public double getRecall()
public int getNumOfRulesCorrect()
public int getNumOfRulesGold()
public int getNumOfRulesMatcher()
public java.lang.String toShortDesc()
public static void useDiffuseEvaluation()
public static boolean strictEvaluationActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |