public class DeeseAntonymEvaluation extends AbstractWordAssociationTest
WordAssociationTest
wordPairToHumanJudgement
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.
|
evaluate
protected double getLowestScore()
getLowestScore
in class AbstractWordAssociationTest
protected double getHighestScore()
getHighestScore
in class AbstractWordAssociationTest
protected Double computeAssociation(SemanticSpace sspace, String word1, String word2)
computeAssociation
in class AbstractWordAssociationTest
null
if either word1
or word2
are not in the semantic spaceprotected double computeScore(double[] humanScores, double[] compScores)
computeScore
in class AbstractWordAssociationTest
Copyright © 2012. All Rights Reserved.