About Anaconda Help Download Anaconda

Pure python implementation of ROUGE-1.5.5.

Installers

  • linux-s390x v0.1.2
  • linux-64 v0.1.2
  • linux-aarch64 v0.1.2
  • osx-arm64 v0.1.2
  • osx-64 v0.1.2
  • win-64 v0.1.2

conda install

To install this package run one of the following:
conda install sfe1ed40::rouge-score

Description

A naive python implementation of the original perl package, ROUGE from Google-Research.

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

Maintainers may be contacted at [email protected].

ROUGE was originally introduced in the paper:

Lin, Chin-Yew. ROUGE: a Package for Automatic Evaluation of Summaries. In Proceedings of the Workshop on Text Summarization Branches Out (WAS 2004), Barcelona, Spain, July 25 - 26, 2004.

There are ROUGE implementations available for Python, however some are not native python due to their dependency on the perl script, and others provide differing results when compared with the original implementation. This makes it difficult to directly compare with known results.

This package is designed to replicate perl results. It implements:

  • ROUGE-N (N-gram) scoring
  • ROUGE-L (Longest Common Subsequence) scoring
  • Text normalization
  • Bootstrap resampling for confidence interval calculation
  • Optional Porter stemming to remove plurals and word suffixes such as (ing, ion, ment).

Note that not all options provided by the original perl ROUGE script are supported, but the subset of options that are implemented should replicate the original functionality.

PyPI: https://pypi.org/project/rouge-score/


© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy