public class Trec1MQReader extends Object
Expects this topic format -
qnum:qtextComment lines starting with '#' are ignored.
All topics will have a single name value pair.
Constructor | Description |
---|---|
Trec1MQReader(String name) |
Constructor for Trec's 1MQ TopicsReader
|
Modifier and Type | Method | Description |
---|---|---|
QualityQuery[] |
readQueries(BufferedReader reader) |
Read quality queries from trec 1MQ format topics file.
|
public Trec1MQReader(String name)
name
- name of name-value pair to set for all queries.public QualityQuery[] readQueries(BufferedReader reader) throws IOException
reader
- where queries are read from.IOException
- if cannot read the queries.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.