public class TrecTopicsReader extends Object
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.| Constructor and Description |
|---|
TrecTopicsReader()
Constructor for Trec's TopicsReader
|
| Modifier and Type | Method and Description |
|---|---|
QualityQuery[] |
readQueries(BufferedReader reader)
Read quality queries from trec format topics file.
|
public QualityQuery[] readQueries(BufferedReader reader) throws IOException
reader - where queries are read from.IOException - if cannot read the queries.Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.