{
  "_id": "6a1f0a42b401979e7341c4a9",
  "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-05-16 08:17:35 UTC",
    "User": "root"
  },
  "Author": "Philipp Koch [aut, cre]",
  "Maintainer": "Philipp Koch <PhillKoch@protonmail.com>",
  "MD5sum": "abf7f9e87a1536276d04ed20147bdb07",
  "_user": "lazerlambda",
  "_type": "src",
  "_file": "sacRebleu_0.1.2.tar.gz",
  "_fileid": "328e6631a560134ebdb64348b0d75b39aa3f7d575d0cf9a2af7275f02214abec",
  "_filesize": 297642,
  "_sha256": "328e6631a560134ebdb64348b0d75b39aa3f7d575d0cf9a2af7275f02214abec",
  "_created": "2026-05-16T08:17:35.000Z",
  "_published": "2026-06-02T16:52:18.594Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79125064889,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7050392573"
    },
    {
      "job": 79125064954,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7050391065"
    },
    {
      "job": 79125065561,
      "time": 143,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7050391428"
    },
    {
      "job": 79125065269,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7050390893"
    },
    {
      "job": 79125065894,
      "time": 152,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79125065595,
      "time": 232,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79125065129,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79125065402,
      "time": 158,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79125064413,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031888660"
    },
    {
      "job": 79125064330,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364297576"
    },
    {
      "job": 79125064882,
      "time": 59,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79125065231,
      "time": 61,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79125064943,
      "time": 56,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/25957060902",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 49939753
  },
  "_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",
    "description": "BLACKFIELD AI | Statistics and Data Science LMU | Tsinghua | NTU |@Munich-NLP "
  },
  "_downloads": {
    "count": 158,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sacRebleu"
  },
  "_devurl": "https://github.com/lazerlambda/sacrebleu",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sacRebleu.html",
    "manual.pdf"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-04-16T08:32:14.000Z",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "1caedb9b4152ed4d3b9b843847410b4d28a40fe951e4813acfe3da462c91428d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/24500032874"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-04-16T08:37:02.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "267a73f4c3d3f0b03329d68ab4f06e5f2676e83d2cdcfc45755d8f139dc59129",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/24500032874"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-04-16T08:32:21.000Z",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "05d9ee50b61e4a2683e5b2c8c25125e955df982de8c96cef0331757245876b23",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/24500032874"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-04-16T08:35:45.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "ee1b3dc3a01b3550cbf766e6de079e6e5191e77bb4452603c899b20f449774e1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/24500032874"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-04-16T08:31:56.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "1fa7f2cabc5c9db723fbe2c289666f846906d2e5f2f5256f3c0cc1899ab00101",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/24500032874"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-18T05:48:13.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "963da3e87d8052c65fb4ae09bcc0d57ce27b0ea9d508c308faff169c8965c8f3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/25957060902"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-18T05:48:02.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "406aa845aecf63cf31578de8f12dd5acca31c080be170b6d794d13af53c9e57c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/25957060902"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-18T05:48:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "76b5617044288f613fbe4264013fee3b3b3c9a4b8538816ea7d7bece8fdd345b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/25957060902"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-18T05:48:01.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "b7b03cc74edfda427f76e32cd73ca06842042f64e75f994473ca13b646b15a8a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/25957060902"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-16T08:18:43.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "34ea511bfa7a4755a1b0c88eb169d5ac300959a58307e44482fce694ec21e30d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/25957060902"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-17T05:14:06.000Z",
      "arch": "x86_64",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "455f27669fa2d73b1f9fd23ee8fc9cf09f267b5a17fa95d9fdc12eb9b0b22c55",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/25957060902"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-02T16:51:57.000Z",
      "arch": "emscripten",
      "commit": "66d92e35f0cf63460efa5174719bda44fa6b70c7",
      "fileid": "311896af4ee6f9920dc0b3cd12043a27c6e240d17f3ed378c11615868b7dbae7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lazerlambda/actions/runs/25957060902"
    }
  ]
}