Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 3.73 KB

regressions-fire12-hi.md

File metadata and controls

69 lines (50 loc) · 3.73 KB

Anserini Regressions: FIRE 2012 Monolingual Hindi

This page documents BM25 regression experiments for FIRE 2012 ad hoc retrieval (Monolingual Hindi). The document collection can be found in FIRE data page.

The exact configurations for these regressions are stored in this YAML file. Note that this page is automatically generated from this template as part of Anserini's regression pipeline, so do not modify this page directly; modify the template instead.

From one of our Waterloo servers (e.g., orca), the following command will perform the complete regression, end to end:

python src/main/python/run_regression.py --index --verify --search --regression fire12-hi

Indexing

Typical indexing command:

target/appassembler/bin/IndexCollection \
  -collection CleanTrecCollection \
  -input /path/to/fire12-hi \
  -index indexes/lucene-index.fire12-hi/ \
  -generator DefaultLuceneDocumentGenerator \
  -threads 16 -storePositions -storeDocvectors -storeRaw -language hi \
  >& logs/log.fire12-hi &

The directory /path/to/fire12-hi/ should be a directory containing the collection, containing hi_AmarUjala and hi_NavbharatTimes directories. There should be 331,599 documents in total.

For additional details, see explanation of common indexing options.

Retrieval

Topics and qrels are stored here, which is linked to the Anserini repo as a submodule. They are downloaded from the FIRE data page:

After indexing has completed, you should be able to perform retrieval as follows:

target/appassembler/bin/SearchCollection \
  -index indexes/lucene-index.fire12-hi/ \
  -topics tools/topics-and-qrels/topics.fire12hi.176-225.txt \
  -topicreader Trec \
  -output runs/run.fire12-hi.bm25.topics.fire12hi.176-225.txt \
  -bm25 -language hi &

Evaluation can be performed using trec_eval:

tools/eval/trec_eval.9.0.4/trec_eval -m map -m P.20 -m ndcg_cut.20 tools/topics-and-qrels/qrels.fire12hi.176-225.txt runs/run.fire12-hi.bm25.topics.fire12hi.176-225.txt

Effectiveness

With the above commands, you should be able to reproduce the following results:

MAP BM25
FIRE 2012 (Monolingual Hindi) 0.3867
P20 BM25
FIRE 2012 (Monolingual Hindi) 0.4470
nDCG@20 BM25
FIRE 2012 (Monolingual Hindi) 0.5310