fr.inrialpes.exmo.align.cli
Class WGroupEval
java.lang.Object
fr.inrialpes.exmo.align.cli.CommonCLI
fr.inrialpes.exmo.align.cli.WGroupEval
public class WGroupEval
- extends CommonCLI
A basic class for synthesizing the results of a set of alignments provided by
different algorithms. The output is a table showing various classical measures
for each test and for each algorithm. Average is also computed as Harmonic means.
java -cp procalign.jar fr.inrialpes.exmo.align.util.WGroupEval [options]
where the options are:
-o filename --output=filename
-f format = prfot (precision/recall/f-measure/overall/time) --format=prfot
-r filename --reference=filename
-s algo/measure
-l list of compared algorithms
-t output --type=output: xml/tex/html/ascii
The input is taken in the current directory in a set of subdirectories (one per
test which will be rendered by a line) each directory contains a number of
alignment files (one per algorithms which will be renderer as a column).
If output is requested (-o
flags), then output will be written to
output
if present, stdout by default.
$Id: WGroupEval.java 1866 2014-01-14 14:34:59Z euzenat $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
static final org.slf4j.Logger logger
reference
String reference
format
String format
fsize
int fsize
type
String type
embedded
boolean embedded
dominant
String dominant
listAlgo
String[] listAlgo
size
int size
color
String color
ontoDir
String ontoDir
writer
PrintStream writer
- The writer used to print the result
WGroupEval
public WGroupEval()
main
public static void main(String[] args)
run
public void run(String[] args)
throws Exception
- Throws:
Exception
iterateDirectories
public Vector<Vector> iterateDirectories()
iterateAlignments
public Vector<Object> iterateAlignments(File dir)
eval
public Evaluator eval(String alignName1,
String alignName2)
print
public void print(Vector<Vector> result)
- This does not only print the results but compute the average as well
printTRIANGLE
public void printTRIANGLE(Vector<Vector> result,
PrintStream writer)
printLATEX
public void printLATEX(Vector result,
PrintStream writer)
printHTML
public void printHTML(Vector<Vector> result,
PrintStream writer)
usage
public void usage()
- Specified by:
usage
in class CommonCLI
(C) INRIA & friends, 2003-2014