Class TrecTopicsReader
Read TREC topics.
Inheritance
System.Object
TrecTopicsReader
Namespace: Lucene.Net.Benchmarks.Quality.Trec
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class TrecTopicsReader : object
Remarks
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.
Constructors
| Improve this Doc View SourceTrecTopicsReader()
Constructor for Trec's TopicsReader
Declaration
public TrecTopicsReader()
Methods
| Improve this Doc View SourceReadQueries(TextReader)
Read quality queries from trec 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. |