|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.benchmark.quality.trec.TrecTopicsReader
public class TrecTopicsReader
Read TREC topics.
Expects this topic format -
<top> <num> Number: nnn <title> title of the topic <desc> Description: description of the topic <narr> Narrative: "story" composed by assessors. </top>Comment lines starting with '#' are ignored.
Constructor Summary | |
---|---|
TrecTopicsReader()
Constructor for Trec's TopicsReader |
Method Summary | |
---|---|
QualityQuery[] |
readQueries(java.io.BufferedReader reader)
Read quality queries from trec format topics file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrecTopicsReader()
Method Detail |
---|
public QualityQuery[] readQueries(java.io.BufferedReader reader) throws java.io.IOException
reader
- where queries are read from.
java.io.IOException
- if cannot read the queries.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |