Description Usage Arguments Value
Takes a candidate summary, reference summary, and n value, returning the associated ROUGE-N recall, precision, and F values.
1 | rouge_n(candidate, reference, n = 1)
|
candidate |
the candidate (usually machine generated) summary |
reference |
the reference (usually human written) summary |
n |
the number of grams to be considered, default 1. |
a dataframe, consisting of a single observation and three variables: recall, precision, and f_measure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.