Multilingual ROUGE(Rouge_score) Scoring Using BPE Tokenizer
This repo extended from multilingual-rouge.
python setup.py bdist_wheel
pip install -e .
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.')