From: Thomas Perrot <[email protected]> This is a native python implementation of ROUGE, designed to replicate results from the original perl package.
Signed-off-by: Thomas Perrot <[email protected]> --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python3-rouge-score_0.1.2.bb | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 meta-python/recipes-devtools/python3-rouge-score/python3-rouge-score_0.1.2.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 8ee1cdc10152..475e3453a689 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -380,6 +380,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-rlp \ python3-robotframework \ python3-robotframework-seriallibrary \ + python3-rouge-score \ python3-rsa \ python3-ruamel-yaml \ python3-scrypt \ diff --git a/meta-python/recipes-devtools/python3-rouge-score/python3-rouge-score_0.1.2.bb b/meta-python/recipes-devtools/python3-rouge-score/python3-rouge-score_0.1.2.bb new file mode 100644 index 000000000000..722956a8e2f5 --- /dev/null +++ b/meta-python/recipes-devtools/python3-rouge-score/python3-rouge-score_0.1.2.bb @@ -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" -- 2.47.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#113928): https://lists.openembedded.org/g/openembedded-devel/message/113928 Mute This Topic: https://lists.openembedded.org/mt/109685249/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
