Anserini: Regressions for NTCIR-8 Monolingual Chinese
This page documents regression experiments for NTCIR-8 ACLIA (IR4QA subtask, Chinese monolingual topics).
The description of the document collection can be found in the NTCIR-8 data page: Xinhua articles from 2002-2005, totalling 308,845 documents, from LDC2007T38: Chinese Gigaword Third Edition.
We build the index directly from the raw LDC data: data/xin_cmn/xin_cmn_200[2-5]*
(48 files).
Typical indexing command:
nohup sh target/appassembler/bin/IndexCollection -collection TrecCollection \
-generator LuceneDocumentGenerator -threads 16 -input /path/to/ntcir8-zh -index \
lucene-index.ntcir8-zh.pos+docvectors+rawdocs -storePositions -storeDocvectors \
-storeRawDocs -language zh -uniqueDocid -optimize >& \
log.ntcir8-zh.pos+docvectors+rawdocs &
The directory /path/to/ntcir8-zh/
should be a directory containing the collection, 48 gzipped files matching the pattern xin_cmn_200[2-5]*
from LDC2007T38.
For additional details, see explanation of common indexing options.
Topics and qrels are stored in src/main/resources/topics-and-qrels/
.
The regression experiments here evaluate on the 73 questions.
After indexing has completed, you should be able to perform retrieval as follows:
nohup target/appassembler/bin/SearchCollection -topicreader TsvString -index lucene-index.ntcir8-zh.pos+docvectors+rawdocs -topics src/main/resources/topics-and-qrels/topics.ntcir8zh.eval.txt -output run.ntcir8-zh.bm25.topics.ntcir8zh.eval.txt -language zh -bm25 &
Evaluation can be performed using trec_eval
:
eval/trec_eval.9.0.4/trec_eval -m map -m P.30 src/main/resources/topics-and-qrels/qrels.ntcir8.eval.txt run.ntcir8-zh.bm25.topics.ntcir8zh.eval.txt
With the above commands, you should be able to replicate the following results:
MAP | BM25 |
---|---|
NTCIR-8 ACLIA (IR4QA subtask, Chinese monolingual) | 0.4014 |
P30 | BM25 |
---|---|
NTCIR-8 ACLIA (IR4QA subtask, Chinese monolingual) | 0.3365 |