joaopalotti / trectools

A simple toolkit to process TREC files in Python.
https://pypi.python.org/pypi/trectools
BSD 3-Clause "New" or "Revised" License
163 stars 32 forks source link

for qrel, 0 or QO? #45

Closed ashleys0 closed 4 months ago

ashleys0 commented 1 year ago

In the main readme, it says the qrels format should be "qid 0 docid rel," but in trec_qrel: ` def read_qrel(self, filename, qrels_header=None):

Replace with default argument for qrel_header

    if qrels_header is None:
        qrels_header = ["query", "q0", "docid", "rel"]

` so it seems like it should be Q0, instead of 0. Should it be Q0, or perhaps doesn't matter? Thanks.