|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Judge
Judge if a document is relevant for a quality query.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |