code: def raw_corpus_rouge2(hypotheses: Iterable[str], references: Iterable[str]) -> float:
      
      return rouge.rouge_2(hypotheses, references)
docs: Simple wrapper around ROUGE-2 implementation.
  
      :param hypotheses: Hypotheses stream.
      :param references: Reference stream.
      :return: ROUGE-2 score as float between 0 and 1.