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
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 details)
Built Distribution
File details
Details for the file extoracle-0.1.tar.gz
.
File metadata
- Download URL: extoracle-0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.35.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd6a102d8c13c4045161567421d3d2ef68f76c69e2464495153e391cf080969e |
|
MD5 | 5741f21ea4987454163e138a44166455 |
|
BLAKE2b-256 | 3ad21340f85cc672500c4f5ec674c79ab6462a15879b601f414bf61d15534d89 |
File details
Details for the file extoracle-0.1-py3-none-any.whl
.
File metadata
- Download URL: extoracle-0.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.35.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5042949c4a2b61eb0b30ac792e1348fc3e84ea95ddbdf3c52b8bed3afb25eac |
|
MD5 | 1fdd377fc3d093224eef23f3fd424e60 |
|
BLAKE2b-256 | 073b1eeba1ac284e2b32293618ca8630f8a2b9a868d43b20d9ba44dfcc87601e |