|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcic.wsd.testing.TestSet
public class TestSet
Class used to run experiments specified in an XML file.
Constructor Summary | |
---|---|
TestSet()
|
Method Summary | |
---|---|
private static java.util.ArrayList<Condition> |
getConditions(org.w3c.dom.NodeList nconditions)
Retrieves the conditions from the XML configuration file. |
private static java.util.ArrayList<Pruning> |
getPruningMethods(java.lang.String senses)
Retrieves the pruning methods from the XML configuration file. |
static void |
main(java.lang.String[] args)
|
private static java.util.ArrayList<Input> |
parseInputs(java.lang.String source,
java.util.ArrayList<Pruning> pruningList)
Utility method for creating the Inputs for a source. |
static void |
runTests(java.lang.String XMLfile)
Loads a configuration file and prepares everything for just running the tests. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestSet()
Method Detail |
---|
public static void runTests(java.lang.String XMLfile) throws java.lang.Exception
XMLfile
- Configuration file.
java.lang.Exception
private static java.util.ArrayList<Condition> getConditions(org.w3c.dom.NodeList nconditions) throws java.lang.Exception
nconditions
- Conditions nodes.
java.lang.Exception
private static java.util.ArrayList<Input> parseInputs(java.lang.String source, java.util.ArrayList<Pruning> pruningList) throws java.lang.Exception
source
- The folder containing the test files.pruningList
- The pruning methods to be applied.
java.lang.Exception
private static java.util.ArrayList<Pruning> getPruningMethods(java.lang.String senses) throws java.lang.Exception
senses
- The senses to be retrieved.
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |