|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unima.ki.mmatch.Setting
public class Setting
Field Summary | |
---|---|
static java.util.HashSet<java.lang.String> |
antiWords
|
static int |
CONCEPTS
The number to identify which matrix should be created. 100 stands for the concept matrix. |
static int |
CONSTANTS_AS_WEIGHT
Choose fixed constants as the join factor. |
static int |
ENTROPY
Choose the entropy of a matrix as the join factor. |
static java.util.HashSet<java.lang.String> |
ignoreWords
|
static java.util.HashSet<java.lang.String> |
inverseWords
|
static int |
MAXIMUM
Choose the maximum of the values to create a new matrix. |
static int |
NUMBER_OF_INTERVALS
Defines into how many parts the interval 0 to 1 should be seperated, only needed if the entropy of a matrix should be computed. |
static int |
PROPERTIES
The number to identify which matrix should be created. 101 stands for the property matrix. |
static int |
STANDARD_DEVIATION
Choose the standard deviation of a matrix as the join factor. |
static java.util.HashSet<java.lang.String> |
strangeWords
|
static int |
VARIANCE
Choose the variance of a matrix as the join factor. |
Constructor Summary | |
---|---|
Setting()
|
Method Summary | |
---|---|
static java.lang.String |
getAlignmentPath()
|
static int |
getConceptJoinFactor()
|
static double |
getConceptRelationJoinFactor()
|
static double |
getConceptSyntacticWordnetJoinFactor()
|
static boolean |
getCreateExplanations()
|
static double |
getGeneralThreshold()
|
static double |
getHeadNounWeight()
|
static double |
getMinimumOccurenceSeperator()
|
static int |
getNumberOfRoot()
|
static int |
getPropertyJoinFactor()
|
static double |
getPropertyLogicJoinFactor()
|
static double |
getPropertyRelationJoinFactor()
|
static double |
getPropertySyntacticWordnetJoinFactor()
|
static double |
getStemWeight()
|
static java.lang.String |
getStringMetric()
|
static double |
getSyntacticEquivalenceJoinFactor()
|
static int |
getSyntacticJoinFactor()
|
static int |
getTopK()
|
static boolean |
getWordnetActivated()
|
static double |
getWordnetEquivalenceJoinFactor()
|
static void |
load()
Load all files which are needed. |
static void |
loadWordnet()
Load the wordnet dictonary which is used to create the wordnet matrices. |
static void |
setAlignmentPath(java.lang.String path)
|
static void |
setConceptJoinFactor(int type,
double... values)
|
static void |
setCreateExplanations(boolean createExplanations)
|
static void |
setGeneralThreshold(double generalThreshold)
|
static void |
setHeadNounWeight(double headNounWeight)
|
static void |
setMinimumOccurenceSeperator(double minimumOccurenceSeperator)
|
static void |
setNumberOfRoot(int numberOfRoot)
|
static void |
setPropertyJoinFactor(int type,
double... values)
|
static void |
setStemWeight(double stemWeight)
|
static void |
setStringMetric(java.lang.String stringMetric)
|
static void |
setSyntacticJoinFactor(int type,
double... values)
Set the syntactic join factor. |
static void |
setTopK(int topK)
|
static void |
setWordnetActivated(boolean wordnetActivated)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CONCEPTS
public static final int PROPERTIES
public static final int STANDARD_DEVIATION
public static final int VARIANCE
public static final int ENTROPY
public static final int MAXIMUM
public static final int CONSTANTS_AS_WEIGHT
public static final int NUMBER_OF_INTERVALS
public static java.util.HashSet<java.lang.String> antiWords
public static java.util.HashSet<java.lang.String> strangeWords
public static java.util.HashSet<java.lang.String> ignoreWords
public static java.util.HashSet<java.lang.String> inverseWords
Constructor Detail |
---|
public Setting()
Method Detail |
---|
public static double getSyntacticEquivalenceJoinFactor()
public static double getWordnetEquivalenceJoinFactor()
public static void setSyntacticJoinFactor(int type, double... values) throws MMatchException
type
- The type of the factor.values
- The values if the factors should be constants.
MMatchException
public static int getSyntacticJoinFactor()
public static void setConceptJoinFactor(int type, double... values) throws MMatchException
type
- values
-
MMatchException
public static double getConceptSyntacticWordnetJoinFactor()
public static double getConceptRelationJoinFactor()
public static int getConceptJoinFactor()
public static void setPropertyJoinFactor(int type, double... values) throws MMatchException
type
- values
-
MMatchException
public static double getPropertySyntacticWordnetJoinFactor()
public static double getPropertyRelationJoinFactor()
public static double getPropertyLogicJoinFactor()
public static int getPropertyJoinFactor()
public static void setWordnetActivated(boolean wordnetActivated)
wordnetActivated
- public static boolean getWordnetActivated()
public static void setMinimumOccurenceSeperator(double minimumOccurenceSeperator)
minimumOccurenceSeperator
- public static double getMinimumOccurenceSeperator()
public static void setStemWeight(double stemWeight)
stemWeight
- public static double getStemWeight()
public static java.lang.String getStringMetric()
public static void setStringMetric(java.lang.String stringMetric) throws MMatchException
stringMetric
-
MMatchException
public static double getGeneralThreshold()
public static void setGeneralThreshold(double generalThreshold)
generalThreshold
- public static int getTopK()
public static void setTopK(int topK)
topK
- public static int getNumberOfRoot()
public static void setNumberOfRoot(int numberOfRoot) throws MMatchException
numberOfRoot
-
MMatchException
public static double getHeadNounWeight()
public static void setHeadNounWeight(double headNounWeight) throws MMatchException
headNounWeight
-
MMatchException
public static void setAlignmentPath(java.lang.String path)
public static java.lang.String getAlignmentPath()
public static boolean getCreateExplanations()
public static void setCreateExplanations(boolean createExplanations)
public static void load() throws MMatchException
MMatchException
public static void loadWordnet() throws MMatchException
MMatchException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |