Alignment API and Server 4.6 (1875M)

fr.inrialpes.exmo.align.cli
Class ExtGroupEval

java.lang.Object
  extended by fr.inrialpes.exmo.align.cli.CommonCLI
      extended by fr.inrialpes.exmo.align.cli.ExtGroupEval

public class ExtGroupEval
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 generalisations of precision and recall for each test and for each algorithm. Average is also computed as Harmonic means.

    java -cp procalign.jar fr.inrialpes.exmo.align.util.ExtGroupEval [options]
    
where the options are:
    -o filename --output=filename
    -f format = sepr (symetric/effort-based/precision-oriented/recall-oriented) --format=sepr
    -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: ExtGroupEval.java 1866 2014-01-14 14:34:59Z euzenat $


Field Summary
(package private)  String color
           
(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
           
 
Fields inherited from class fr.inrialpes.exmo.align.cli.CommonCLI
options, outputfilename, parameters
 
Constructor Summary
ExtGroupEval()
           
 
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 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

listAlgo

String[] listAlgo

size

int size

color

String color

ontoDir

String ontoDir
Constructor Detail

ExtGroupEval

public ExtGroupEval()
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


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