Practical overview
When it fits
Use Sumeval when you have generated summaries and reference text and need numeric ROUGE or BLEU comparisons from Python or the command line.
Who it is for
- Developers adding reference-based summary scoring to Python evaluation workflows.
- Researchers and practitioners comparing summarization systems with ROUGE or BLEU.
- CLI users who want to score summary text against one or more references.
Documented uses
- Calculate ROUGE-1, ROUGE-2 and ROUGE-L scores for a summary and its references.
- Calculate BLEU scores for text, including supported Japanese usage.
- Compare generated summaries against reference outputs in evaluation or regression-check workflows.
Requirements & limits
The project is a public GitHub repository licensed under Apache-2.0.
- The README documents both Python and command-line interfaces, including JSON output from the CLI.
- Optional dependencies vary by metric and language; ROUGE-BE has additional requirements beyond the basic installation.
- Additional languages can be added through language-specific processing built on the project's BaseLang class.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install Sumeval for Python scoring
Install the library and identify the extra packages required for a chosen metric and language.
Before you start
- Python environment with pip
Steps
Install the package with pip install sumeval.
For BLEU, install its SacréBLEU dependency.
For Japanese, install Janome or MeCab; for Chinese, install jieba.
For ROUGE-BE, install spaCy; Japanese and Chinese ROUGE-BE also require GiNZA and pyhanlp respectively.
Expected outcome
The library is installed, with the listed optional dependencies identified for the intended language and metric.
Guide limitations
- This guide covers installation requirements only; it does not verify a working environment.
- The README does not give package-install commands for the optional dependencies.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 8 November 2026
- Original website title
- chakki-works/sumeval · Official homepage title · retained in its source language

