A naive implementation of MMR in Python 3.
Requires Python >= 3.5.
cd mmr
pip install --upgrade pip
# Normal installation:
pip install .
# Editable installation:
pip install -e .
Use the following command to run unit tests:
python -m unittest
A developpement corpus built using articles from The Guardian is provided for development and testing.
Original papers of baseline algorithms:
- MMR: Carbonell, J. & Goldstein, J. (1998). The Use of MMR, Diversity-based Reranking for Reordering Documents and Producing Summaries. Proceedings of he 21st Annual International ACM SIGIR Conference on Research and Development in Information Retrieval (pp. 335–336). New York, NY, USA : ACM.