{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/3"}],"enrichment":{"capability":"Computes ROUGE evaluation metrics for Chinese text summarization and NLP tasks, handling Chinese punctuation and sentence segmentation correctly.","skillfed_tags":["chinese-nlp","evaluation-metric","summarization"],"use_cases":["Evaluate machine-generated Chinese text summaries against reference summaries in NLP research or production systems.","Batch-score multiple hypothesis-reference pairs from files to assess summarization model performance across datasets.","Compare Chinese abstractive or extractive summarization outputs in academic papers or model benchmarking.","Integrate into Chinese NLP pipelines where ROUGE metrics are required for quality assurance or model selection.","Command-line scoring of individual Chinese text pairs without writing Python code."],"what_it_does":"Rouge-Chinese is a Python library that calculates ROUGE evaluation scores specifically for Chinese-language NLP tasks. It addresses known limitations in the original ROUGE implementation when applied to Chinese text: incorrect sentence segmentation (missing Chinese punctuation marks), excessive memory consumption during longest-common-subsequence calculation, and inaccurate scores due to approximation methods. The library improves sentence splitting to recognize Chinese punctuation, optimizes memory usage by computing sequence lengths without generating the sequences themselves, and computes official ROUGE scores rather than approximate variants.\n\nThe package provides three main interfaces: a library API for scoring single or multiple sentence pairs with optional averaging, a file-based API for batch scoring line-by-line from text files, and a command-line tool for ad-hoc scoring. It depends only on six and requires external word segmentation to tokenize Chinese text before scoring. Output includes precision, recall, and F1 scores for ROUGE-1, ROUGE-2, and ROUGE-L metrics.","worth_installing":"Yes, if you need ROUGE metrics for Chinese text and can tolerate dormant maintenance. The package solves real problems in the original ROUGE for Chinese, has low install friction, and no known vulnerabilities. However, verify that the unclear license aligns with your use case, and confirm compatibility with your Python version since support is unspecified. Consider it stable for evaluation tasks but not actively developed."},"id":"rouge-chinese","links":{"html":"https://skillfed.io/packages/rouge-chinese","md":"https://skillfed.io/packages/rouge-chinese.md","pypi":"https://pypi.org/project/rouge-chinese/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-09-18","license_spdx":null,"license_treatment":"unclear","name":"rouge-chinese","python_support":"unspecified","summary":"Python ROUGE Score Implementation for Chinese Language Task (official rouge score)"},"popularity":{"monthly_downloads":81338,"position":14236,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.3"}
