code: def raw_corpus_chrf(hypotheses: Iterable[str], references: Iterable[str]) -> float:
      
      return sacrebleu.corpus_chrf(hypotheses, references, order=sacrebleu.CHRF_ORDER, beta=sacrebleu.CHRF_BETA,
                                   remove_whitespace=True)
docs: Simple wrapper around sacreBLEU's chrF implementation, without tokenization.
  
      :param hypotheses: Hypotheses stream.
      :param references: Reference stream.
      :return: chrF score as float between 0 and 1.