Class Trec1MQReader
Read topics of TREC 1MQ track.
Expects this topic format -
qnum:qtext
Comment lines starting with '#' are ignored.
All topics will have a single name value pair.
Inheritance
System.Object
Trec1MQReader
Namespace: Lucene.Net.Benchmarks.Quality.Trec
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class Trec1MQReader : object
Constructors
| Improve this Doc View SourceTrec1MQReader(String)
Constructor for Trec's 1MQ TopicsReader
Declaration
public Trec1MQReader(string name)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | Name of name-value pair to set for all queries. |
Methods
| Improve this Doc View SourceReadQueries(TextReader)
Read quality queries from trec 1MQ format topics file.
Declaration
public virtual QualityQuery[] ReadQueries(TextReader reader)
Parameters
Type | Name | Description |
---|---|---|
Text |
reader | where queries are read from. |
Returns
Type | Description |
---|---|
Quality |
the result quality queries. |