public class MatchExptScript extends Object
The input file can contain these commands:
| Modifier and Type | Field and Description |
|---|---|
static String |
BLOCKER_PACKAGE |
static String |
DISTANCE_PACKAGE |
| Constructor and Description |
|---|
MatchExptScript() |
| Modifier and Type | Method and Description |
|---|---|
void |
blocker(String blockerClass)
Load a blocker.
|
void |
blocker(String blockerClass,
String param,
String value)
Load a blocker, with optional boolean value
|
void |
clear(String what)
Clear datasets, blockers, or learners.
|
void |
compute()
Compute learners.
|
void |
dataset(String dataFile)
Load a dataset.
|
void |
distance(String distanceClass)
Load a distance learner.
|
void |
echo(String onOrOff)
Turn echoing of commands on/off.
|
void |
learner(String learnerClass)
Load a learner.
|
static void |
main(String[] argv) |
void |
precisionRecall()
Show interpolated 11-pt precision curves for each blocker/distance/dataset
|
void |
restore(String file)
Restore experimental data previously 'saved' toa file.
|
void |
runScript(String configFileName)
Load commands from a file and execute them.
|
void |
save(String file)
Save current experimental data to a file
|
void |
show(String what)
Show datasets, blockers, or learners.
|
void |
table(String what)
Show a table of some expt-wide numeric measurement.
|
public static final String BLOCKER_PACKAGE
public static final String DISTANCE_PACKAGE
public void clear(String what)
public void show(String what)
public void echo(String onOrOff)
public void dataset(String dataFile) throws MatchData.InputFormatException
MatchData.InputFormatExceptionpublic void learner(String learnerClass)
public void distance(String distanceClass)
public void blocker(String blockerClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException
public void blocker(String blockerClass, String param, String value) throws ClassNotFoundException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
public void compute()
public void table(String what) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
public void precisionRecall()
public void save(String file) throws IOException, FileNotFoundException
IOExceptionFileNotFoundExceptionpublic void restore(String file) throws IOException, FileNotFoundException, ClassNotFoundException
public void runScript(String configFileName)
public static void main(String[] argv)
Copyright © 2016. All rights reserved.