|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEvEx
public class EvEx
Main class for the EvEx program. Executed from the command line with the following syntax:
Field Summary | |
---|---|
Anto |
anto
|
boolean |
debug_ge
|
boolean |
debug_op
|
boolean |
debug_tql
|
java.util.ArrayList<Evaluator> |
evaluation
|
java.io.File |
fileGoldFile
|
java.io.File |
fileTestFile
|
java.util.ArrayList<GAbstract> |
genia
|
java.lang.String |
genxml_name
|
GENIAParser |
gparser
|
boolean |
manual
|
OntologyParser |
op
|
Syno |
syno
|
TQLParser |
tparser
|
java.util.ArrayList<TQLAbstract> |
tqlabs
|
java.lang.String |
tqlxml_name
|
Constructor Summary | |
---|---|
EvEx()
|
Method Summary | |
---|---|
void |
action(java.lang.String strGoldFile,
java.lang.String strTestFile)
This is the invoking method of the entire system. |
float |
floatDiv(float x,
float y)
Method for float division that returns 0 if dividend is 0. |
int |
intDiv(int x,
int y)
Simplifies division of two integers by returning the results in percent. |
static void |
main(java.lang.String[] args)
Invoked when starting program from command line, e.g.\ common Java behaviour. |
java.lang.String |
perc(int x,
int y)
Wrapper method for intDiv that return the answer enclosed in a string, appended ( %) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public OntologyParser op
public java.util.ArrayList<TQLAbstract> tqlabs
public java.util.ArrayList<GAbstract> genia
public java.util.ArrayList<Evaluator> evaluation
public java.io.File fileTestFile
public java.io.File fileGoldFile
public TQLParser tparser
public GENIAParser gparser
public Syno syno
public Anto anto
public java.lang.String tqlxml_name
public java.lang.String genxml_name
public boolean debug_tql
public boolean debug_ge
public boolean debug_op
public boolean manual
Constructor Detail |
---|
public EvEx()
Method Detail |
---|
public void action(java.lang.String strGoldFile, java.lang.String strTestFile)
strGoldFile
- a String that contains the path to the gold standard filestrTestFile
- a String that contains the path to the file to be tested against the gold standardpublic static void main(java.lang.String[] args)
public int intDiv(int x, int y)
x
- dividendy
- divison
public java.lang.String perc(int x, int y)
x
- divisory
- dividend
intDiv(int, int)
public float floatDiv(float x, float y)
x
- divisory
- dividend
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |