Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 751 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 751 Bytes

Multilingual ROUGE(Rouge_score) Scoring Using BPE Tokenizer

This repo extended from multilingual-rouge.

Setup from Repository

python setup.py bdist_wheel
pip install -e .

Setup from Git

pip install git+https://github.com/faisaltareque/Multilingual-Rouge-Scorer
  • Default usage
from multi_lingual_rouge_score import multi_lingual_rouge
scorer = multi_lingual_rouge.RougeScorer(['rouge1', 'rouge2', 'rougeL'], use_stemmer=True)
scores = scorer.score('The quick brown fox jumps over the lazy dog',
                          'The quick brown dog jumps on the log.')