{
  "_id": "6ace105ba14063b82c3af260",
  "Package": "sacRebleu",
  "Type": "Package",
  "Title": "Metrics for Assessing the Quality of Generated Text",
  "Version": "0.1.2",
  "Date": "2024-04-05",
  "Authors@R": "c(person(\"Philipp\", \"Koch\", role = c(\"aut\", \"cre\"), email = \"PhillKoch@protonmail.com\"))",
  "Description": "Implementation of the BLEU-Score in 'C++' to evaluate the\nquality of generated text. The BLEU-Score, introduced by\nPapineni et al. (2002) <doi:10.3115/1073083.1073135>, is a\nmetric for evaluating the quality of generated text. It is\nbased on the n-gram overlap between the generated text and\nreference texts. Additionally, the package provides some\nsmoothing methods as described in Chen and Cherry (2014)\n<doi:10.3115/v1/W14-3346>.",
  "License": "GPL (>= 2)",
  "SystemRequirements": "Rust tool chain w/ cargo, libclang/llvm-config",
  "URL": "https://github.com/LazerLambda/sacRebleu",
  "BugReports": "https://github.com/LazerLambda/sacRebleu/issues",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Config/rextendr/version": "0.3.1",
  "Config/pak/sysreqs": "libclang-dev",
  "Repository": "https://lazerlambda.r-universe.dev",
  "Date/Publication": "2024-04-28 19:26:32 UTC",
  "RemoteUrl": "https://github.com/lazerlambda/sacrebleu",
  "RemoteRef": "HEAD",
  "RemoteSha": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-13 10:58:38 UTC",
    "User": "root"
  },
  "Author": "Philipp Koch [aut, cre]",
  "Maintainer": "Philipp Koch <PhillKoch@protonmail.com>",
  "_user": "lazerlambda",
  "_type": "src",
  "_file": "sacRebleu_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/fd87e1d20bd50e7774c4c45ab431964ec600518958a6f2d7357d8d48a05f874a",
  "_filesize": 296809,
  "_sha256": "fd87e1d20bd50e7774c4c45ab431964ec600518958a6f2d7357d8d48a05f874a",
  "_expires": "2027-01-21T11:04:57.000Z",
  "_created": "2026-10-13T10:58:38.000Z",
  "_published": "2026-10-13T11:04:59.692Z",
  "_buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115261359739,
      "time": 118,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11807681624"
    },
    {
      "job": 115261359709,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11806507833"
    },
    {
      "job": 115261359758,
      "time": 116,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11806527880"
    },
    {
      "job": 115261359729,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11806587900"
    },
    {
      "job": 115261359723,
      "time": 143,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11807586784"
    },
    {
      "job": 115261359658,
      "time": 268,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11807662213"
    },
    {
      "job": 115261359678,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11806338144"
    },
    {
      "job": 115261359791,
      "time": 284,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11807592344"
    },
    {
      "job": 115260037997,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806382671"
    },
    {
      "job": 115261359731,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11807291755"
    },
    {
      "job": 115261359786,
      "time": 331,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11806483501"
    },
    {
      "job": 115261359706,
      "time": 128,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11807681640"
    },
    {
      "job": 115261359917,
      "time": 93,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11807006672"
    },
    {
      "job": 115261359679,
      "time": 299,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11807457444"
    },
    {
      "job": 115261359927,
      "time": 129,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11807206713"
    }
  ],
  "_upstream": "https://github.com/lazerlambda/sacrebleu",
  "_commit": {
    "id": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
    "author": "Philipp Koch <49939753+LazerLambda@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from LazerLambda/0.1.3\n\nUpdate examples to comply with CRAN",
    "time": 1714332392
  },
  "_maintainer": {
    "name": "Philipp Koch",
    "email": "phillkoch@protonmail.com",
    "login": "lazerlambda",
    "linkedin": "in/phlkch",
    "twitter": "@PhilippKoch15",
    "description": "PhD Student JKU | Statistics and Data Science LMU | Tsinghua | NTU | @Munich-NLP ",
    "uuid": 49939753
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "tok",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "hfhub",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "lazerlambda",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "lazerlambda",
      "count": 49,
      "uuid": 49939753
    },
    {
      "user": "lampyridae94",
      "count": 6,
      "uuid": 44755424
    }
  ],
  "_userbio": {
    "uuid": 49939753,
    "type": "user",
    "name": "Philipp Koch",
    "followers": 18,
    "description": "PhD Student JKU | Statistics and Data Science LMU | Tsinghua | NTU | @Munich-NLP "
  },
  "_downloads": {
    "count": 209,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sacRebleu"
  },
  "_devurl": "https://github.com/lazerlambda/sacrebleu",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sacRebleu.html"
  ],
  "_homeurl": "https://github.com/lazerlambda/sacrebleu",
  "_realowner": "lazerlambda",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2024-04-30"
    },
    {
      "version": "0.2.0",
      "date": "2025-01-22"
    }
  ],
  "_exports": [
    "bleu_corpus",
    "bleu_corpus_ids",
    "bleu_sentence",
    "bleu_sentence_ids",
    "validate_arguments",
    "validate_references"
  ],
  "_help": [
    {
      "page": "bleu_corpus",
      "title": "This function applies tokenization based on the 'tok' library and computes the BLEU score. An already initialized tokenizer can be provided using the `tokenizer` argument or a valid huggingface identifier (string) can be passed. If the identifier is used only, the tokenizer is newly initialized on every call.",
      "topics": [
        "bleu_corpus"
      ]
    },
    {
      "page": "bleu_corpus_ids",
      "title": "Computes BLEU score (Papineni et al., 2002).",
      "topics": [
        "bleu_corpus_ids"
      ]
    },
    {
      "page": "bleu_sentence",
      "title": "Compute BLEU for a Sentence with Tokenization",
      "topics": [
        "bleu_sentence"
      ]
    },
    {
      "page": "bleu_sentence_ids",
      "title": "Computes BLEU-Score (Papineni et al., 2002).",
      "topics": [
        "bleu_sentence_ids"
      ]
    },
    {
      "page": "validate_arguments",
      "title": "Validate Arguments",
      "topics": [
        "validate_arguments"
      ]
    },
    {
      "page": "validate_references",
      "title": "Validate References",
      "topics": [
        "validate_references"
      ]
    }
  ],
  "_readme": "https://github.com/lazerlambda/sacrebleu/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "R6",
    "Rcpp",
    "tok"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "sacReBLEU.Rmd",
      "filename": "sacReBLEU.html",
      "title": "sacRebleu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "BLEU Score",
        "Smoothing",
        "floor",
        "add-k",
        "Example"
      ],
      "created": "2024-04-09 22:07:27",
      "modified": "2024-04-26 14:07:00",
      "commits": 7
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "sacrebleu",
  "_universes": [
    "lazerlambda"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-13T11:00:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/6e762cc6f5bf31d858708b68dc87e8399c533700c482fe40ce6a36ede910b6a1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-13T11:00:53.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/1407a230183732b730635756d1769c1ef1a8a04cff00efb00a319ee8fca63cad",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-13T11:00:41.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/a2383e3cbfdae24cf176ce82cff28be901e174f77e3c8d9aace346c00373b11d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-13T11:00:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/16a2df248f8c1a3e1aaf33b9266d0893ceb295a2ab4683b0213580edc0fcbb1b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-13T11:01:35.000Z",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/50617f8d53904ffaefb8b308458b4e765c8631d1beb3265e0c76243f6418d047",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-13T11:02:35.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/194e97063bdc6cdb46a62f104b6273a1824a11d041637469c84606afa9a5c2c9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-13T11:01:32.000Z",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/8738eccfb98ee62629696b26640d998523657dd39e87f8135fb9bcdc2db670b5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-13T11:02:54.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/cf990d56e4d77831c210a98fdfe238c700071f9d07ef092eece3c2f2c20672a1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-10-13T11:00:56.000Z",
      "arch": "emscripten",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/2f853f3c1c6a83392d18a768a8f019d37517e53fe63b0bfc63358d2b9a7663c2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-13T11:04:00.000Z",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/f5536431013b235de7b4202eccb32c7bbd3368f6e3136a24bcaeb59cfe13251f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-13T10:59:46.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/d03c0bf671cf3858f510794d0b5644d0608cbacbdb7108bacf5986403cda91b1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-13T10:59:50.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/c0e32ceb564fae21eec6dbec1ddd55a363c98cd6fa0b3600622a4e02e795af3b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-13T11:03:31.000Z",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/3791c72c9aa70c40a2995c2b86122c657f4d134da91ad008c4916b39c753aea7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-13T11:00:15.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "https://r2.ropensci.org/d65959ef74af26af357000b7ce2babe317ce99b990b6f28b86c4895b65375228",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/38386626438"
    }
  ]
}