Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 3.55 KB

regressions-ntcir8-zh.md

File metadata and controls

63 lines (42 loc) · 3.55 KB

Anserini: Regressions for NTCIR-8 Monolingual Chinese

This page documents regression experiments for NTCIR-8 ACLIA (IR4QA subtask), monolingual Chinese topics. The description of the document collection can be found in the NTCIR-8 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 TrecCollection -input /path/to/ntcir8-zh \
 -index lucene-index.ntcir8-zh.pos+docvectors+rawdocs -generator LuceneDocumentGenerator -threads 16 \
 -storePositions -storeDocvectors -storeRawDocs -language zh -uniqueDocid -optimize >& log.ntcir8-zh.pos+docvectors+rawdocs &

The collection comprises Xinhua articles from 2002-2005, totaling 308,845 documents, from LDC2007T38: Chinese Gigaword Third Edition. We build the index directly from the raw LDC data: the directory /path/to/ntcir8-zh/ should point to the directory data/xin_cmn/ from LDC2007T38. In that directory, there should be 48 gzipped files matching the pattern xin_cmn_200[2-5]*.

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 NTCIR Test Collection page:

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

nohup target/appassembler/bin/SearchCollection -index lucene-index.ntcir8-zh.pos+docvectors+rawdocs \
 -topicreader TsvString -topics src/main/resources/topics-and-qrels/topics.ntcir8zh.eval.txt \
 -language zh -bm25 -output run.ntcir8-zh.bm25.topics.ntcir8zh.eval.txt &

Evaluation can be performed using trec_eval:

eval/trec_eval.9.0.4/trec_eval -m map -m P.20 -m ndcg_cut.20 src/main/resources/topics-and-qrels/qrels.ntcir8.eval.txt run.ntcir8-zh.bm25.topics.ntcir8zh.eval.txt

Effectiveness

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

MAP BM25
NTCIR-8 ACLIA (IR4QA subtask, Monolingual Chinese) 0.4014
P20 BM25
NTCIR-8 ACLIA (IR4QA subtask, Monolingual Chinese) 0.3849
NDCG20 BM25
NTCIR-8 ACLIA (IR4QA subtask, Monolingual Chinese) 0.4757