public class AnswerBasedEvaluation extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
AnswerBasedEvaluation() |
| Modifier and Type | Method and Description |
|---|---|
private static Set<String> |
answersToString(Set<String> answers) |
static double |
fMeasure(Set<String> systemAnswers,
IQuestion question) |
static boolean |
isAskType(String sparqlQuery) |
static boolean |
isSelectType(String sparqlQuery) |
static double |
precision(Set<String> systemAnswer,
IQuestion question) |
static double |
recall(Set<String> systemAnswer,
IQuestion question) |
Copyright © 2016–2019. All rights reserved.