-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_pipeline_licene2.sh
8 lines (8 loc) · 1.1 KB
/
run_pipeline_licene2.sh
1
2
3
4
5
6
7
8
#!/bin/bash
rm -rf ../index_lucene2
java -jar target/create-index.jar -indexDir="../index_lucene2" -corpusDir="hierarchical_test200_corpus_v2"
java -jar target/search-file-from-file.jar train_queries_article.json > runfile_paragraph_lucene
cd /Users/rafalpytel/Downloads/trec_eval.9.0
./trec_eval -q train.pages.cbor-hierarchical.qrels ~/Desktop/TU\ Delft/Q3\&Q4/Information\ Retriveal/project/trec-car-reproduction/runfile_paragraph_lucene > ~/Desktop/TU\ Delft/Q3\&Q4/Information\ Retriveal/project/trec-car-reproduction/results/lucene/run_paragraph_hierarchical_l.eval
./trec_eval -q train.pages.cbor-toplevel.qrels ~/Desktop/TU\ Delft/Q3\&Q4/Information\ Retriveal/project/trec-car-reproduction/runfile_paragraph_lucene > ~/Desktop/TU\ Delft/Q3\&Q4/Information\ Retriveal/project/trec-car-reproduction/results/lucene/run_paragraph_toplevel_l.eval
./trec_eval -q train.pages.cbor-article.qrels ~/Desktop/TU\ Delft/Q3\&Q4/Information\ Retriveal/project/trec-car-reproduction/runfile_paragraph_lucene > ~/Desktop/TU\ Delft/Q3\&Q4/Information\ Retriveal/project/trec-car-reproduction/results/lucene/run_paragraph_article_l.eval