|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gate.util.CorpusBenchmarkTool
Constructor Summary | |
CorpusBenchmarkTool()
|
Method Summary | |
void |
execute()
|
void |
execute(File dir)
|
boolean |
getGenerateMode()
|
boolean |
getMarkedClean()
|
boolean |
getMarkedDS()
|
boolean |
getMarkedStored()
|
double |
getPrecisionAverage()
Returns the average precision over the entire set of processed documents. |
double |
getRecallAverage()
Returns the average recall over the entire set of processed documents. |
File |
getStartDirectory()
|
double |
getThreshold()
|
boolean |
getVerboseMode()
|
void |
init()
|
void |
initPRs()
|
boolean |
isGenerateMode()
|
static void |
main(String[] args)
|
void |
printStatistics()
|
void |
setApplicationFile(File newAppFile)
|
void |
setGenerateMode(boolean mode)
|
void |
setMarkedClean(boolean mode)
|
void |
setMarkedDS(boolean mode)
|
void |
setMarkedStored(boolean mode)
|
void |
setStartDirectory(File dir)
|
void |
setThreshold(double newValue)
|
void |
setVerboseMode(boolean mode)
|
void |
unloadPRs()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CorpusBenchmarkTool()
Method Detail |
public void initPRs()
public void unloadPRs()
public void execute()
public void init()
public void execute(File dir)
public static void main(String[] args) throws GateException
GateException
public void setGenerateMode(boolean mode)
public boolean getGenerateMode()
public boolean getVerboseMode()
public void setVerboseMode(boolean mode)
public void setMarkedStored(boolean mode)
public boolean getMarkedStored()
public void setMarkedClean(boolean mode)
public boolean getMarkedClean()
public void setMarkedDS(boolean mode)
public boolean getMarkedDS()
public void setApplicationFile(File newAppFile)
public double getPrecisionAverage()
If the tool has been evaluating the original documents against the previously-stored automatically annotated ones, then the precision will be the average precision on those two sets.
If the tool was run in -marked mode, i.e., was evaluating the stored automatically processed ones against the human-annotated ones, then the precision will be the average precision on those two sets of documents.
public double getRecallAverage()
If the tool has been evaluating the original documents against the previously-stored automatically annotated ones, then the recall will be the average recall on those two sets.
If the tool was run in -marked mode, i.e., was evaluating the stored automatically processed ones against the human-annotated ones, then the recall will be the average recall on those two sets of documents.
public boolean isGenerateMode()
public double getThreshold()
public void setThreshold(double newValue)
public File getStartDirectory()
public void setStartDirectory(File dir)
public void printStatistics()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |