Package: sacRebleu 0.1.2

sacRebleu: Metrics for Assessing the Quality of Generated Text

Implementation of the BLEU-Score in 'C++' to evaluate the quality of generated text. The BLEU-Score, introduced by Papineni et al. (2002) <doi:10.3115/1073083.1073135>, is a metric for evaluating the quality of generated text. It is based on the n-gram overlap between the generated text and reference texts. Additionally, the package provides some smoothing methods as described in Chen and Cherry (2014) <doi:10.3115/v1/W14-3346>.

Authors:Philipp Koch [aut, cre]

sacRebleu_0.1.2.tar.gz
sacRebleu_0.1.2.zip(r-4.5)sacRebleu_0.1.2.zip(r-4.4)sacRebleu_0.1.2.zip(r-4.3)
sacRebleu_0.1.2.tgz(r-4.4-x86_64)sacRebleu_0.1.2.tgz(r-4.4-arm64)sacRebleu_0.1.2.tgz(r-4.3-x86_64)sacRebleu_0.1.2.tgz(r-4.3-arm64)
sacRebleu_0.1.2.tar.gz(r-4.5-noble)sacRebleu_0.1.2.tar.gz(r-4.4-noble)
sacRebleu_0.1.2.tgz(r-4.4-emscripten)sacRebleu_0.1.2.tgz(r-4.3-emscripten)
sacRebleu.pdf |sacRebleu.html
sacRebleu/json (API)
NEWS

# Install 'sacRebleu' in R:
install.packages('sacRebleu', repos = c('https://lazerlambda.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/lazerlambda/sacrebleu/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

6 exports 5 stars 1.39 score 6 dependencies 4 scripts 117 downloads

Last updated 5 months agofrom:66d92e35f0. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 30 2024
R-4.5-win-x86_64OKAug 30 2024
R-4.5-linux-x86_64OKAug 30 2024
R-4.4-win-x86_64OKAug 30 2024
R-4.4-mac-x86_64OKAug 30 2024
R-4.4-mac-aarch64OKAug 30 2024
R-4.3-win-x86_64OKAug 30 2024
R-4.3-mac-x86_64OKAug 30 2024
R-4.3-mac-aarch64OKAug 30 2024

Exports:bleu_corpusbleu_corpus_idsbleu_sentencebleu_sentence_idsvalidate_argumentsvalidate_references

Dependencies:backportscheckmatecliR6Rcpptok

sacRebleu

Rendered fromsacReBLEU.Rmdusingknitr::rmarkdownon Aug 30 2024.

Last update: 2024-04-26
Started: 2024-04-09