Ext-Oracle Summarization: extractive upper-bound by selecting sentences that maximizes ROUGE-2 score with respect to the target.
git clone https://github.com/pltrdy/extoracle_summarization
cd extoracle
pip install .
(source, target)
extoracle source.txt target.txt -method greedy -output oracle.txt
extoracle -h
usage: Ext-Oracle Summarization [-h] [-method {greedy,combination}]
[-length LENGTH] [-length_oracle]
[-output OUTPUT] [-trunc TRUNC]
source target
Ext-Oracle Summarization: error: the following arguments are required: source, target