Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 3.21 KB

regressions-fire12-bn.md

File metadata and controls

65 lines (44 loc) · 3.21 KB

Anserini: Regressions for FIRE 2012 Monolingual Bengali

This page documents regression experiments for FIRE 2012 ad hoc retrieval (Monolingual Bengali). 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.

Indexing

Typical indexing command:

nohup sh target/appassembler/bin/IndexCollection -collection CleanTrecCollection \
 -input /path/to/fire12-bn \
 -index indexes/lucene-index.fire12-bn.pos+docvectors+raw \
 -generator DefaultLuceneDocumentGenerator \
 -threads 16 -storePositions -storeDocvectors -storeRaw -language bn \
  >& logs/log.fire12-bn &

The directory /path/to/fire12-bn/ should be a directory containing the collection, containing bn_ABP and bn_BDNews24 directories. There should be 500,122 documents in total.

For additional details, see explanation of common indexing options.

Retrieval

Topics and qrels are stored in src/main/resources/topics-and-qrels/, downloaded from the FIRE data page:

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

nohup target/appassembler/bin/SearchCollection -index indexes/lucene-index.fire12-bn.pos+docvectors+raw \
 -topicreader Trec -topics src/main/resources/topics-and-qrels/topics.fire12bn.176-225.txt \
 -output runs/run.fire12-bn.bm25.topics.fire12bn.176-225.txt \
 -language bn -bm25 &

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 src/main/resources/topics-and-qrels/qrels.fire12bn.176-225.txt runs/run.fire12-bn.bm25.topics.fire12bn.176-225.txt

Effectiveness

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

MAP BM25
FIRE 2012 (Monolingual Bengali) 0.2881
P20 BM25
FIRE 2012 (Monolingual Bengali) 0.3740
NDCG20 BM25
FIRE 2012 (Monolingual Bengali) 0.4261