public class Trec1MQReader
extends java.lang.Object
Expects this topic format -
qnum:qtextComment lines starting with '#' are ignored.
All topics will have a single name value pair.
Constructor and Description |
---|
Trec1MQReader(java.lang.String name)
Constructor for Trec's 1MQ TopicsReader
|
Modifier and Type | Method and Description |
---|---|
QualityQuery[] |
readQueries(java.io.BufferedReader reader)
Read quality queries from trec 1MQ format topics file.
|
public Trec1MQReader(java.lang.String name)
name
- name of name-value pair to set for all queries.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.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.