Skip to content

Commit

Permalink
Added informations about query expansion and proximity
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurCamara authored Jun 19, 2019
1 parent 356d65e commit 1812f74
Showing 1 changed file with 37 additions and 4 deletions.
41 changes: 37 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,26 @@ python run.py search \

## Retrieval Methods:

This image supports the following weighting models: BM25 (`bm25`), PL2 (`pl2`) and `DPH` (`dph`).

Additionally, it supports Query Expansion and Proximity-based (DFRD) search, by including `qe`, `prox` or `prox_qe` to the `--opts config` argument: `--opts config=<retrieval_model>_qe`, `--opts config=<retrieval_model>_prox` or `--opts config=<retrieval_model>_prox_qe`:

(BM25)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs
python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=bm25

(BM25 + query expansion)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=bm25_qe

(BM25 + Proximity)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=bm25_prox

(BM25 + Proximity + query expansion)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=bm25_prox_qe

(PL2)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=pl2
Expand All @@ -51,11 +63,32 @@ python run.py search \

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=pl2_qe

(DFRD)
(PL2 + Proximity)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=pl2_prox

(PL2 + Proximity + query expansion)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=pl2_prox_qe


(DPH)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=dph

(DPH + query expansion)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=dph_qe

(DPH + Proximity)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=dph_prox

(DPH + Proximity + query expansion)

python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=DFRD
python run.py search --repo osirrc2019/terrier --tag v0.1.5 --collection robust04 --topic topics/topics.robust04.txt --qrels qrels/qrels.robust04.txt --output /tmp/runs --opts config=dph_prox_qe

**NOTE:** for running DFRD, the index must be build using the `--opts=block.index=true` param
**NOTE:** for running DFRD (Proximity-based model), the index must be build using the `--opts=block.index=true` param


## Learning to Rank Runs
Expand Down

0 comments on commit 1812f74

Please sign in to comment.