|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.nlp.uned.weps.evaluation.TaskScorer
public class TaskScorer
The Class TaskScorer.
Field Summary | |
---|---|
static java.lang.String |
ALL_IN_ONE_BASELINE
The Constant ALL_IN_ONE_BASELINE. |
static java.lang.String |
COMBINED_BASELINE
The Constant COMBINED_BASELINE. |
static java.lang.String |
ONE_IN_ONE_BASELINE
The Constant ONE_IN_ONE_BASELINE. |
Constructor Summary | |
---|---|
TaskScorer(java.lang.String team_id,
boolean answer_is_baseline,
java.lang.String key_path,
java.lang.String answer_path,
java.lang.String description_path)
Constructor. |
Method Summary | |
---|---|
double |
getBCubedExtPrecision()
Gets the BCubed extened precision measure. |
double |
getBCubedExtRecall()
Gets the BCubed extended recall measure. |
double |
getInversePurity()
Gets the inverse purity. |
double |
getMultiplicity()
Gets the multiplicity measure. |
java.lang.String |
getNameSet()
Gets the name set. |
double |
getPairsMeasure(int metricType)
Calculates a pairs based measure. |
double |
getPurity()
Gets the purity. |
boolean |
isAnswerBaseline()
Checks if is answer baseline. |
static void |
main(java.lang.String[] args)
The main method. |
void |
removeDiscardedDocs()
Removes the discarded docs. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ALL_IN_ONE_BASELINE
public static final java.lang.String ONE_IN_ONE_BASELINE
public static final java.lang.String COMBINED_BASELINE
Constructor Detail |
---|
public TaskScorer(java.lang.String team_id, boolean answer_is_baseline, java.lang.String key_path, java.lang.String answer_path, java.lang.String description_path)
key_path
- the key_pathanswer_is_baseline
- the answer_is_baselinedescription_path
- the description_pathanswer_path
- the answer_pathteam_id
- the team_idMethod Detail |
---|
public boolean isAnswerBaseline()
public java.lang.String getNameSet()
public void removeDiscardedDocs()
public double getPurity()
public double getInversePurity()
public double getPairsMeasure(int metricType)
metricType
- the type of pair based metric (Measures.RAND_STATISTIC, Measures.JACCARD_COEFFICIENT or Measures.FOLKES_AND_MALLOWS).
public double getBCubedExtRecall()
public double getBCubedExtPrecision()
public double getMultiplicity()
public static void main(java.lang.String[] args)
args
- the args
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |