|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object leila.algorithm.Test
public class Test
This class is part of LEILA (http://mpii.de/yago-naga/leila). It is licensed under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0) by the author Fabian M. Suchanek (http://suchanek.name).
Test.java is a user-interface that applies learned patterns to a set of files.
Constructor Summary | |
---|---|
Test()
|
Method Summary | |
---|---|
static void |
apply(java.io.File inf,
Applies a visitor to the FeatureObjects of all pairs of interesting words in all sentences in a file |
static void |
error(java.lang.String s)
Reports an error and quits |
static void |
findNew(java.io.File inf,
Relation learnMe,
Classifier memory,
OutputPairs newPairs)
Runs through the sentences , applying the good patterns |
static void |
main(java.util.Collection<java.lang.String> files,
Relation r,
Classifier m,
OutputPairs newPairs)
Applies the memory to the LGO-file(s) and prints all noun pairs found (call by Java) |
static void |
main(java.lang.String[] argv)
Applies the memory to the LGO-file and prints all noun pairs found (call by user) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Test()
Method Detail |
---|
public static void apply(java.io.File inf,visitor) throws java.lang.Exception
java.lang.Exception
public static void findNew(java.io.File inf, Relation learnMe, Classifier memory, OutputPairs newPairs) throws java.lang.Exception
java.lang.Exception
public static void error(java.lang.String s)
public static void main(java.util.Collection<java.lang.String> files, Relation r, Classifier m, OutputPairs newPairs) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] argv) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |