public class SimpleWordAssociationReport extends Object implements WordAssociationReport
WordAssociationTest
.Constructor and Description |
---|
SimpleWordAssociationReport(int numWordPairs,
double correlation,
int unanswerable)
Creates a simple report
|
Modifier and Type | Method and Description |
---|---|
double |
correlation()
Returns the correlation between the similarity judgemnts from a
SemanticSpace similarity and the provided human similarity judgements. |
int |
numberOfWordPairs()
Returns the total number of word pairs.
|
String |
toString()
Returns a string describing the three values represented by this
report |
int |
unanswerableQuestions()
Returns the number of questions for which a
SemanticSpace
could not give an answer due to missing word vectors. |
public SimpleWordAssociationReport(int numWordPairs, double correlation, int unanswerable)
public int numberOfWordPairs()
numberOfWordPairs
in interface WordAssociationReport
public double correlation()
SemanticSpace
similarity and the provided human similarity judgements.correlation
in interface WordAssociationReport
public int unanswerableQuestions()
SemanticSpace
could not give an answer due to missing word vectors.unanswerableQuestions
in interface WordAssociationReport
Copyright © 2012. All Rights Reserved.