{"library":"rouge-chinese","title":"rouge-chinese","description":"A Python implementation of ROUGE score specifically designed for Chinese text evaluation. It supports both character-level and word-level ROUGE-1, ROUGE-2, and ROUGE-L metrics. Version 1.0.3 is the latest, with no recent updates (last release likely 2021).","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install rouge-chinese"],"cli":null},"imports":["from rouge_chinese import Rouge"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from rouge_chinese import Rouge\n\n# Example hypotheses and references (Chinese text)\nhypotheses = [\"这是一个测试句子\"]\nreferences = [\"这是一个参考句子\"]\n\nrouge = Rouge()\nscores = rouge.get_scores(hypotheses, references)\nprint(scores)","lang":"python","description":"Basic usage computing ROUGE scores for Chinese text.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}