metapy.index

https://github.com/meta-toolkit/metapy/blob/master/src/metapy_index.cpp

Table of Contents

metapy.index.make_inverted_index(configpath) reference

metapy.index.IREval(configpath) reference

config['query-judgements']
which is a path to a file formatted as follows.
For each row, (<query id>, <doc id>, <relevance level>)
0 6 2
0 7 1
0 45 2
0 21 1
0 99 1
1 6 1
1 4 1
1 89 2