109703040 洪晙宸
- python3, using 3.11.4
- perl
pip install -r requirements.txtThen create a data folder, and put WT2G into it, qrels into qrels folder, and queries into queries folder, which looks loke this:
.
├── WT2G
│ ├── Wt01
│ ├── Wt02
│ ├── ...
├── qrels
│ ├── qrels.401-440.txt
│ └── qrels.441-450.txt
└── queries
├── topics.401-440.txt
└── topics.441-450.txtOther files will automatically generate.
First build index using utils/buildIndex.py
python utils/buildIndex.py
python convert.pyThen, run the queries
python main.py