validate_arguments {sacRebleu} | R Documentation |
Validate Arguments
Description
Validate Arguments
Usage
validate_arguments(weights, smoothing, n)
Arguments
weights |
Weight vector for 'bleu_corpus_ids' and 'bleu_sentence_ids' functions |
smoothing |
Smoothing method for 'bleu_corpus_ids' and 'bleu_sentence_ids' functions |
n |
N-gram for 'bleu_corpus_ids' and 'bleu_sentence_ids' functions |
Value
A list with the validated arguments (weights and smoothing)
[Package sacRebleu version 0.1.3 Index]