Added ChrF prefix to the return output keys.

#2
by alvations - opened
Files changed (1) hide show
  1. chrf.py +4 -4
chrf.py CHANGED
@@ -181,8 +181,8 @@ class ChrF(evaluate.Metric):
181
  output = sb_chrf.corpus_score(predictions, transformed_references)
182
 
183
  return {
184
- "score": output.score,
185
- "char_order": output.char_order,
186
- "word_order": output.word_order,
187
- "beta": output.beta,
188
  }
 
181
  output = sb_chrf.corpus_score(predictions, transformed_references)
182
 
183
  return {
184
+ "chrf_score": output.score,
185
+ "chrf_char_order": output.char_order,
186
+ "chrf_word_order": output.word_order,
187
+ "chrf_beta": output.beta,
188
  }