Description Usage Arguments Value Examples
Evaluate a machine translation candidate against a set of reference sentences.
1 | bleu_vec(candidate, reference, n = 1)
|
candidate |
Candidate sentence. |
reference |
Vector of reference sentences. |
n |
ngram size, default = 1. |
A double indicating the BLEU score between the candidate and the set of references.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.