Skip to main content

Ext-Oracle Summarization

Project description

Ext-Oracle

Ext-Oracle Summarization: extractive upper-bound by selecting sentences that maximizes ROUGE-2 score with respect to the target.

Installation

  • from sources:
git clone https://github.com/pltrdy/extoracle_summarization
cd extoracle
pip install .

Generating Oracle summary from files (source, target)

extoracle source.txt target.txt -method greedy -output oracle.txt

Parameters

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

References

  • Paper: Ext-Oracle is discussed, and measured again summarization datasets in Narayan (2018)
  • Code: this repository uses code from nlpyang/BertSum (Apache 2.0).

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

extoracle-0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

extoracle-0.1-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page