Repositories » TXT0 Read More
Clone URL:  
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Tokenize the corpus and query. ./raw2t -x -n -c TRECQUERY <q.txt >q.t ./raw2t -x -n -c TREC <d.txt >d.t Print readable tokenized files (if needed). ./t2mem <q.t >q.mem ./t2mem <d.t >d.mem Build inverted index from tokenized corpus and search (-s) using queries. ./ii -s q.t <d.t >res Rank the search result. sort -k1,1 -k3,3nr res >rank Convert the result to TREC run format. awk -f txt2trecrun.awk <rank >run