public class AnswerBasedEvaluation extends Object
| Modifier and Type | Field | Description |
|---|---|---|
(package private) static org.slf4j.Logger |
log |
| Constructor | Description |
|---|---|
AnswerBasedEvaluation() |
| Modifier and Type | Method | 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–2018 Pivotal Software, Inc.. All rights reserved.