This prototype is build upon the implementation of the . To facilitate experimentation with this setup, please follow the installation guide below. For easy installation, a Docker setup is used.
- Open the GitHub Repository in Codespaces
- Download the Index from Sciebo and unzip the index into
example_data/index_CORE.zip
file into the `example_data/index_CORE directory.
curl -L -o index_CORE.zip "https://th-koeln.sciebo.de/s/F9AEa1CXyk2RTpf/download"
unzip index_CORE.zip -d ./example_data/
- Build the container by executing:
docker-compose up -d --build
If the container has already been built, you can start it with:
docker-compose up -d
- All dependencies should be installed automatically
- You can access Docker shell via
docker exec -it SIM4IA_DIS22_container bash
- At the end of the session you should shutdown the container and delete the project from your Codespaces
docker-compose down
- Adjust your query reformulation approach
- You can find existing implementations in
simiir/user/query_generators/
- You can find existing implementations in
- Create a new user configuration that uses your query reformulation approach
- Existing user configurations can be found in
example_sims/users/
- Existing user configurations can be found in
- Add your new user configuration to the experimental setup
- The setup is located in
example_sims/users/core_bm25_DIS22_Sim4IA.xml
- The setup is located in
- Navigate to the
simiir
directory in the terminal - Run the configuration file with:
python run_simiir.py ../example_sims/core_bm25_DIS22_Sim4IA.xml
- Evaluate the results using the provided notebook
- The evaluation notebook is located in
evaluation/eval_core.ipynb
- The evaluation notebook is located in
This project is licensed under the MIT License - see the LICENSE file for details.