public class BatchMeasures
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static REFilenameFilter |
filter |
private static java.lang.String |
SEP |
Constructor and Description |
---|
BatchMeasures() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Computes distances or similarities between ontologies
|
static void |
printUsage() |
private static final java.lang.String SEP
public static final REFilenameFilter filter
public static void main(java.lang.String[] args) throws java.lang.Exception
args:
- [options] ontodir measurefile
where the options are:
--aligndir=dirname -a dirname Use alignments contained in this directory (load all .rdf or .owl files)
--output=filename -o filename Output the results in filename (stdout by default)
--factory=[OWL|JENA|OntologyFactory subclass] -f [OWL|JENA|OntologyFactory subclass] Use the specified factory for loading ontologies
--weaken=n -w n Suppress n% of the correspondences at random in all alignments
--threshold -t Tells if the correspondences are suppressed at random of by suppressing the n% of lower confidence
--drop=n -d n Suppress n% of the alignments at random in the network
--close_matrix -c It will generate closeness_matrix for assessing degree of agreement
--robustness -r It will generate several (degradated) closeness_matrixes for each measure (in combination with -d or -w), robustness
--invert -i Use the reflexive closure of the network
--help -h Print this message
ontodir is a directory which contains only the ontologies to compare (ontologies filename must finish by extension .owl or .rdf)
measurefile is a text file where each line is the name of a measure to compute. examples :
-- VectorSpaceMeasure(fr.inrialpes.exmo.ontosim.vector.CosineVM,vector.model.DocumentCollection$WEIGHT=TFIDF)
-- OntologySpaceMeasure(set.MaxCoupling(entity.EntityLexicalMeasure))java.lang.Exception
- when something goes wrongpublic static final void printUsage()
(C) INRIA, Univ. Grenoble Alpes & friends, 2008-2017