Alignment API and Server 4.6 (1875M)

fr.inrialpes.exmo.align.cli
Class WGroupEval

java.lang.Object
  extended by fr.inrialpes.exmo.align.cli.CommonCLI
      extended by 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 $


Field Summary
(package private)  String color
           
(package private)  String dominant
           
(package private)  boolean embedded
           
(package private)  String format
           
(package private)  int fsize
           
(package private)  String[] listAlgo
           
(package private) static org.slf4j.Logger logger
           
(package private)  String ontoDir
           
(package private)  String reference
           
(package private)  int size
           
(package private)  String type
           
(package private)  PrintStream writer
          The writer used to print the result
 
Fields inherited from class fr.inrialpes.exmo.align.cli.CommonCLI
options, outputfilename, parameters
 
Constructor Summary
WGroupEval()
           
 
Method Summary
 Evaluator eval(String alignName1, String alignName2)
           
 Vector<Object> iterateAlignments(File dir)
           
 Vector<Vector> iterateDirectories()
           
static void main(String[] args)
           
 void print(Vector<Vector> result)
          This does not only print the results but compute the average as well
 void printHTML(Vector<Vector> result, PrintStream writer)
           
 void printLATEX(Vector result, PrintStream writer)
           
 void printTRIANGLE(Vector<Vector> result, PrintStream writer)
           
 void run(String[] args)
           
 void usage()
           
 
Methods inherited from class fr.inrialpes.exmo.align.cli.CommonCLI
exit, parseCommandLine, parseSpecificCommandLine, usage, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

WGroupEval

public WGroupEval()
Method Detail

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

Alignment API and Server 4.6 (1875M)

(C) INRIA & friends, 2003-2014