|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsofie.maxsat.Config
public class Config
Class Configuration This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie). It is licensed under the Creative Commons Attribution-Noncommercial-Share-Alike 3.0 Unported License (http://creativecommons.org/licenses/by-nc-sa/3.0/) by Fabian M. Suchanek (http://suchanek.name). If you use this class for scientific purposes, please cite Fabian M. Suchanek, Mauro Sozio, Gerhard Weikum "SOFIE: A Self-Organizing Framework for Information Extraction" (International World Wide Web Conference 2009) Holds global data
Field Summary | |
---|---|
static int |
BATCHSIZE
Batch size |
static javatools.database.Database |
database
Points to the database |
static java.lang.String |
delimitPOC
Additional constraint to consider only patternoccurrences < MAXNUMPATOC |
static int |
maxPatternOccurrenceId
Maximum ID to consider among the pattern occurrences (or -1) |
static int |
minPatternOccurrenceId
Minimum ID to consider among the pattern occurrences (or -1) |
protected static java.util.Collection<java.lang.String> |
relationsToLearn
Relations to learn (as Strings, because they may be undeclared) |
static java.util.List<Rule> |
rules
The rules that to optimize |
Constructor Summary | |
---|---|
Config()
|
Method Summary | |
---|---|
static void |
close()
Closes the database |
static void |
init(java.io.File iniFile)
Initializes the variables |
static boolean |
isRelationToLearn(basics.datagraph.Relation rel)
TRUE for relations to learn |
static boolean |
isRelationToLearn(java.lang.String rel)
TRUE for relations to learn |
static void |
main(java.lang.String[] args)
Test |
static java.lang.String |
normalizeRelationToLearn(java.lang.String rel)
Normalizes a relation to learn |
static void |
setPatternOccurences(int from,
int to)
Sets patternoccurence limits |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int maxPatternOccurrenceId
public static int minPatternOccurrenceId
public static int BATCHSIZE
public static javatools.database.Database database
protected static java.util.Collection<java.lang.String> relationsToLearn
public static java.util.List<Rule> rules
public static java.lang.String delimitPOC
Constructor Detail |
---|
public Config()
Method Detail |
---|
public static void init(java.io.File iniFile) throws java.lang.Exception
java.lang.Exception
public static boolean isRelationToLearn(java.lang.String rel)
public static java.lang.String normalizeRelationToLearn(java.lang.String rel)
public static boolean isRelationToLearn(basics.datagraph.Relation rel)
public static void setPatternOccurences(int from, int to)
public static void close()
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 |