public interface Judge
Modifier and Type | Method and Description |
---|---|
boolean |
isRelevant(String docName,
QualityQuery query)
Judge if document
docName is relevant for the given quality query. |
int |
maxRecall(QualityQuery query)
Return the maximal recall for the input quality query.
|
boolean |
validateData(QualityQuery[] qq,
PrintWriter logger)
Validate that queries and this Judge match each other.
|
boolean isRelevant(String docName, QualityQuery query)
docName
is relevant for the given quality query.docName
- name of doc tested for relevancy.query
- tested quality query.boolean validateData(QualityQuery[] qq, PrintWriter logger)
qq
- quality queries to be validated.logger
- if not null, validation issues are logged.int maxRecall(QualityQuery query)
query
- the query whose maximal recall is needed.