Show / Hide Table of Contents

    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 Source

    TrecTopicsReader()

    Constructor for Trec's TopicsReader

    Declaration
    public TrecTopicsReader()

    Methods

    | Improve this Doc View Source

    ReadQueries(TextReader)

    Read quality queries from trec format topics file.

    Declaration
    public virtual QualityQuery[] ReadQueries(TextReader reader)
    Parameters
    Type Name Description
    TextReader reader

    where queries are read from.

    Returns
    Type Description
    QualityQuery[]

    the result quality queries.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)