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 WordAssociationReportpublic double correlation()
SemanticSpace similarity and the provided human similarity judgements.correlation in interface WordAssociationReportpublic int unanswerableQuestions()
SemanticSpace
could not give an answer due to missing word vectors.unanswerableQuestions in interface WordAssociationReportCopyright © 2012. All Rights Reserved.