multi_rouge_n: Rouge N with multiple reference summaries

Description Usage Arguments Value

View source: R/multi_rouge_n.R

Description

Takes a candidate summary, more than one reference summary, and a single n value. Returns a ROUGE score for the given N.

Usage

1
multi_rouge_n(candidate, references, n)

Arguments

candidate

the candidate (usually machine generated) summary

references

a character vector of reference (usually human written) summaries

n

the number of grams to be considered. eg. n = 2 considers bigrams, generating a ROUGE-2 score.

Value

The ROUGE-N score


LJCovingtonJr/rougeR documentation built on Jan. 18, 2022, 2:27 a.m.