python3-rouge-score: add a recipe for version 0.1.2

This is a native python implementation of ROUGE, designed to
replicate results from the original perl package.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Thomas Perrot 2024-11-20 16:03:54 +01:00 committed by Khem Raj
parent 02673cbf61
commit c70d4bc096
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 20 additions and 0 deletions

View File

@ -381,6 +381,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-rlp \
python3-robotframework \
python3-robotframework-seriallibrary \
python3-rouge-score \
python3-rsa \
python3-ruamel-yaml \
python3-scrypt \

View File

@ -0,0 +1,19 @@
SUMMARY = "Pure python implementation of ROUGE-1.5.5."
DESCRIPTION = "This is a native python implementation of ROUGE, designed to \
replicate results from the original perl package."
HOMEPAGE = "https://github.com/google-research/google-research/tree/master/rouge"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://README.md;beginline=91;endline=93;md5=e8937c2bcd7cf57f2d1bd5f1bf7efd23"
RDEPENDS:${PN} = "\
python3-absl \
python3-nltk \
python3-numpy \
python3-six (>=1.14) \
"
inherit setuptools3 pypi
PYPI_PACKAGE = "rouge_score"
SRC_URI[sha256sum] = "c7d4da2683e68c9abf0135ef915d63a46643666f848e558a1b9f7ead17ff0f04"