OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Evaluation & Observability

Pythonrouge

Pythonrouge is a Python wrapper for the ROUGE summarization evaluation toolkit. It calculates configurable ROUGE scores by comparing system-generated summaries with reference summaries supplied as text or stored in directories.

Independent OpenViST project profile, based on linked sources.

Pythonrouge — OpenViST project profile in AI Evaluation & Observability.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Pythonrouge when a summarization evaluation workflow needs ROUGE scores against reference summaries and can provide the required ROUGE-1.5.5 script and data paths.

Who it is for

  • NLP researchers evaluating document summarization systems
  • Developers who want ROUGE score comparisons in a Python-based text evaluation workflow

Documented uses

  • Compare generated summaries with one or more reference summaries.
  • Choose ROUGE metrics and report recall, F-measure, or both.
  • Score summaries provided directly as text or organized in files.
Before you choose

Requirements & limits

  • Evaluation requires paths to ROUGE-1.5.5.pl and RELEASE-1.5.5/data.
  • The README documents both in-memory text inputs and a directory-based format with matching system and reference filenames.
  • The MIT license is identified in repository metadata.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install Pythonrouge and prepare its ROUGE paths

Install the wrapper and identify the ROUGE files required for evaluation.

Before you start

  • Python environment
  • Access to the Pythonrouge Git repository
  • ROUGE-1.5.5.pl and the RELEASE-1.5.5/data directory

Steps

  1. Install from the repository with pip, or clone the repository and run python setup.py install.

  2. Set the paths to ROUGE-1.5.5.pl and RELEASE-1.5.5/data when configuring evaluation.

Expected outcome

Pythonrouge is installed, and the required ROUGE script and data paths are identified for evaluation.

Guide limitations

  • This guide covers installation and required path preparation; evaluation also requires system summaries and reference summaries.
Source-based practical guide

Prepare summary files for directory-based evaluation

Arrange system and reference summaries in the naming format Pythonrouge documents for file-based scoring.

Before you start

  • System-generated summary files
  • One or more reference summary files for each system summary

Steps

  1. Name each system summary {NAME}.txt.

  2. Name each reference summary {NAME}.{SUMMARY_ID}.txt, keeping {NAME} consistent with its system file.

  3. Configure Pythonrouge for file-based input and provide the system and reference directory paths.

Expected outcome

System and reference summaries are arranged for ROUGE metric evaluation through Pythonrouge's file-input mode.

Guide limitations

  • The README specifies the directory naming pattern and file-input configuration; it does not provide a broader evaluation workflow.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 October 2026
Original website title
tagucci/pythonrouge · Official homepage title · retained in its source language