public class DeeseAntonymEvaluation extends AbstractWordAssociationTest
WordAssociationTestwordPairToHumanJudgement| Constructor and Description |
|---|
DeeseAntonymEvaluation() |
| Modifier and Type | Method and Description |
|---|---|
protected Double |
computeAssociation(SemanticSpace sspace,
String word1,
String word2)
Returns the association of the two words on a scale of 0 to 1.
|
protected double |
computeScore(double[] humanScores,
double[] compScores)
Returns the average computer generated score on the Deese Antonymy test.
|
protected double |
getHighestScore()
Returns the highest score possible for human judgments.
|
protected double |
getLowestScore()
Returns the lowest score possible for human judgments.
|
evaluateprotected double getLowestScore()
getLowestScore in class AbstractWordAssociationTestprotected double getHighestScore()
getHighestScore in class AbstractWordAssociationTestprotected Double computeAssociation(SemanticSpace sspace, String word1, String word2)
computeAssociation in class AbstractWordAssociationTestnull if either word1 or word2 are not in the semantic spaceprotected double computeScore(double[] humanScores,
double[] compScores)
computeScore in class AbstractWordAssociationTestCopyright © 2012. All Rights Reserved.