Skip to content

Ext-Oracle Summarization: extractive summarization that maximize ROUGE w.r.t. target

License

Notifications You must be signed in to change notification settings

pltrdy/extoracle_summarization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Ext-Oracle Summarization: extractive summarization that maximize ROUGE w.r.t. target

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages