extoracle-0.1
توضیحات
Ext-Oracle Summarization
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | extoracle-0.1 |
| نام | extoracle |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/extoracle/ |
| مجوز | - |
# 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)](https://arxiv.org/abs/1808.08745)
* Code: this repository uses code from [nlpyang/BertSum](https://github.com/nlpyang/BertSum) (Apache 2.0).
نیازمندی
| مقدار | نام |
|---|---|
| >=1.0.0rc1 | rouge |
نحوه نصب
نصب پکیج whl extoracle-0.1:
pip install extoracle-0.1.whl
نصب پکیج tar.gz extoracle-0.1:
pip install extoracle-0.1.tar.gz