Description Usage Arguments Value Examples
Brevity Penalty calculations for BLEU assessed candidate and reference texts
1 |
data |
data frame (data that was processed by a data loading function to be created) |
reference |
column in data with reference text (human translated or created text) |
candidate |
column in data with candidate text (machine generated text) |
brevity penalty score calculated as e^(1-r/c)
1 2 3 | library(footrulr)
brev_pen(data = wmt18example, reference = "reference", candidate = "candidate")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.