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:

4.88 score 5 stars 4 scripts 47 downloads 6 exports 6 dependencies

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

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-win-x86_64OKSep 29 2024
R-4.5-linux-x86_64OKOct 29 2024
R-4.4-win-x86_64OKSep 29 2024
R-4.4-mac-x86_64OKSep 29 2024
R-4.4-mac-aarch64OKSep 29 2024
R-4.3-win-x86_64OKSep 29 2024
R-4.3-mac-x86_64OKSep 29 2024
R-4.3-mac-aarch64OKSep 29 2024

Exports:bleu_corpusbleu_corpus_idsbleu_sentencebleu_sentence_idsvalidate_argumentsvalidate_references

Dependencies:backportscheckmatecliR6Rcpptok

sacRebleu

Rendered fromsacReBLEU.Rmdusingknitr::rmarkdownon Oct 29 2024.

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