Code and resources to reproduce the ArgMining 2023 paper Stance-Aware Re-Ranking for Non-factual Comparative Queries.
The following sections describe how to use our code to re-rank comparative search engine results, using Pipenv.
- Install Python 3.10
- Create and activate virtual environment:
python3.10 -m venv venv/ source venv/bin/activate - Install dependencies:
pip install -e .
To evaluate the re-ranking pipeline on all runs and all topics, follow these steps:
- Modify the configuration in
config.yml - Run the
staremodule:python -m stare
After installing all dependencies, you can run all unit tests:
flake8 stare
pylint stare
pytest stareThis repository is licensed under the MIT License.
The data (in the data/ directory) may be released under different terms and conditions.