rouge_s: Rouge-S: Skip-Bigram Co-occurence Statistics

Description Usage Arguments Value

View source: R/rouge_s.R

Description

Takes a candidate summary and reference summary, returning the associated ROUGE-S recall, precision, and F values.

Usage

1
rouge_s(candidate, reference, k = 1, beta = 1)

Arguments

candidate

the candidate (usually machine generated) summary

reference

the reference (usually human written) summary

k

the maximum skip distance, default 1

beta

a measure of the importance of precision in relation to recall in the F-measure, default 1—implying equal importance.

Value

a dataframe, consisting of a single observation and three variables: recall, precision, and f_measure.


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