{
  "_id": "6a1035fcacfb0bcc41c99e45",
  "Package": "wordpiece",
  "Type": "Package",
  "Title": "R Implementation of Wordpiece Tokenization",
  "Version": "2.1.3",
  "Authors@R": "c(\nperson(given = \"Jonathan\",\nfamily = \"Bratt\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jonathan.bratt@macmillan.com\",\ncomment = c(ORCID = \"0000-0003-2859-0076\")),\nperson(given = \"Jon\",\nfamily = \"Harmon\",\nrole = c(\"aut\"),\nemail = \"jonthegeek@gmail.com\",\ncomment = c(ORCID = \"0000-0003-4781-4346\")),\nperson(given = \"Bedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning\",\nrole = c(\"cph\"))\n)",
  "Description": "Apply 'Wordpiece' (<arXiv:1609.08144>) tokenization to\ninput text, given an appropriate vocabulary. The 'BERT'\n(<arXiv:1810.04805>) tokenization conventions are used by\ndefault.",
  "Encoding": "UTF-8",
  "URL": "https://github.com/macmillancontentscience/wordpiece",
  "BugReports": "https://github.com/macmillancontentscience/wordpiece/issues",
  "License": "Apache License (>= 2)",
  "RoxygenNote": "7.1.2",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://macmillancontentscience.r-universe.dev",
  "Date/Publication": "2022-03-03 14:09:42 UTC",
  "RemoteUrl": "https://github.com/macmillancontentscience/wordpiece",
  "RemoteRef": "HEAD",
  "RemoteSha": "3eb92c759556e89d235202c45decb2dc859e661d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 07:01:41 UTC",
    "User": "root"
  },
  "Author": "Jonathan Bratt [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2859-0076>),\nJon Harmon [aut] (ORCID: <https://orcid.org/0000-0003-4781-4346>),\nBedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning [cph]",
  "Maintainer": "Jonathan Bratt <jonathan.bratt@macmillan.com>",
  "MD5sum": "c22e6770196a4e6ea23bd47c76e3fec2",
  "_user": "macmillancontentscience",
  "_type": "src",
  "_file": "wordpiece_2.1.3.tar.gz",
  "_fileid": "f2ec32caeb1b916d1557b36ff016b05e9ff537d1eff34b09ffd7a88191f03e81",
  "_filesize": 109040,
  "_sha256": "f2ec32caeb1b916d1557b36ff016b05e9ff537d1eff34b09ffd7a88191f03e81",
  "_created": "2026-05-12T07:01:41.000Z",
  "_published": "2026-05-22T10:54:52.080Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77365588453,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6937736355"
    },
    {
      "job": 77365588587,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6937737718"
    },
    {
      "job": 77365588440,
      "time": 76,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6937721556"
    },
    {
      "job": 77365588281,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6937728404"
    },
    {
      "job": 77365587986,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6937695919"
    },
    {
      "job": 77365588043,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158800356"
    },
    {
      "job": 77365588450,
      "time": 84,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6937720971"
    },
    {
      "job": 77365588728,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6937723361"
    },
    {
      "job": 77365588753,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6937717765"
    }
  ],
  "_buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/25718754671",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/macmillancontentscience/wordpiece",
  "_commit": {
    "id": "3eb92c759556e89d235202c45decb2dc859e661d",
    "author": "Jonathan Bratt <33073024+jonathanbratt@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Cran prep (#32)\n\n* update vnum\r\n\r\n* update comments\r\n\r\n* Update cran-comments.md\r\n\r\nCo-authored-by: Jon Harmon <jonthegeek@gmail.com>\r\n\r\nCo-authored-by: Jon Harmon <jonthegeek@gmail.com>",
    "time": 1646316582
  },
  "_maintainer": {
    "name": "Jonathan Bratt",
    "email": "jonathan.bratt@macmillan.com",
    "login": "jonathanbratt",
    "uuid": 33073024,
    "orcid": "0000-0003-2859-0076"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "dlr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "fastmatch",
      "version": ">= 1.1",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "piecemaker",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "wordpiece.data",
      "version": ">= 1.0.2",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "macmillancontentscience",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "jonathanbratt",
      "count": 14,
      "uuid": 33073024
    },
    {
      "user": "jonthegeek",
      "count": 7,
      "uuid": 33983824
    }
  ],
  "_userbio": {
    "uuid": 73667768,
    "type": "organization",
    "name": "Macmillan Learning Content Science",
    "description": "A team of data scientists researching and applying content analysis techniques"
  },
  "_downloads": {
    "count": 253,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/wordpiece"
  },
  "_devurl": "https://github.com/macmillancontentscience/wordpiece",
  "_searchresults": 7,
  "_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/wordpiece.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/macmillancontentscience/wordpiece",
  "_realowner": "macmillancontentscience",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2021-02-11"
    },
    {
      "version": "2.0.1",
      "date": "2021-10-18"
    },
    {
      "version": "2.1.3",
      "date": "2022-03-03"
    }
  ],
  "_exports": [
    "load_or_retrieve_vocab",
    "load_vocab",
    "prepare_vocab",
    "set_wordpiece_cache_dir",
    "wordpiece_cache_dir",
    "wordpiece_tokenize",
    "wordpiece_vocab"
  ],
  "_help": [
    {
      "page": "load_or_retrieve_vocab",
      "title": "Load a vocabulary file, or retrieve from cache",
      "topics": [
        "load_or_retrieve_vocab"
      ]
    },
    {
      "page": "load_vocab",
      "title": "Load a vocabulary file",
      "topics": [
        "load_vocab"
      ]
    },
    {
      "page": "prepare_vocab",
      "title": "Format a Token List as a Vocabulary",
      "topics": [
        "prepare_vocab"
      ]
    },
    {
      "page": "set_wordpiece_cache_dir",
      "title": "Set a Cache Directory for wordpiece",
      "topics": [
        "set_wordpiece_cache_dir"
      ]
    },
    {
      "page": "wordpiece_cache_dir",
      "title": "Retrieve Directory for wordpiece Cache",
      "topics": [
        "wordpiece_cache_dir"
      ]
    },
    {
      "page": "wordpiece_tokenize",
      "title": "Tokenize Sequence with Word Pieces",
      "topics": [
        "wordpiece_tokenize"
      ]
    }
  ],
  "_readme": "https://github.com/macmillancontentscience/wordpiece/raw/HEAD/README.md",
  "_rundeps": [
    "cachem",
    "cli",
    "digest",
    "dlr",
    "fastmap",
    "fastmatch",
    "fs",
    "glue",
    "lifecycle",
    "magrittr",
    "memoise",
    "piecemaker",
    "rappdirs",
    "rlang",
    "stringi",
    "stringr",
    "vctrs",
    "wordpiece.data"
  ],
  "_vignettes": [
    {
      "source": "basic_usage.Rmd",
      "filename": "basic_usage.html",
      "title": "Using wordpiece",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Provided Vocabularies",
        "Loading a Vocabulary",
        "Tokenizing Text",
        "Vocabulary Case",
        "Representing \"Unknown\" Tokens"
      ],
      "created": "2021-01-12 21:26:23",
      "modified": "2021-09-27 14:37:17",
      "commits": 2
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "wordpiece",
  "_universes": [
    "macmillancontentscience",
    "jonathanbratt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-05-12T07:04:03.000Z",
      "distro": "noble",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "1aa4e7b9bc71b9ee6fab9b7f5bec291c9bbc1622fc1a9f869ec441e08c270a99",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/25718754671"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-05-12T07:04:08.000Z",
      "distro": "noble",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "747c4af9b2ec0a68c0a05d5376f97c705afdbd653e97967cbca768f7765d3cfc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/25718754671"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-05-12T07:03:15.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "14f332c69c68f630a7dbc15b82b35cbe215ad94a2c4a13633275a70941cd218d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/25718754671"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-05-12T07:03:36.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "edc3f35dedb1dd09a559be778aa13b25b4599457f7b2db498f0bbf5cc69c9665",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/25718754671"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-05-12T07:03:04.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "728c6d7eb1c66ffda83cd97b32aca4e20b4cce9a12e11aa115eb034d8f5dd1d1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/25718754671"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-05-12T07:03:11.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "49d2e3f7317fc2b86a4532cc83d9ef196a858580981ca52ffb53b2b0cfaf6631",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/25718754671"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-05-12T07:02:51.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "8f0459e613afba78a163bbf6659270edb5732943a1a609c6079af9ddfb1f165f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/25718754671"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.3",
      "date": "2026-05-22T10:54:38.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "077841912efa0949d2f7a45e20de52b04d718ebe251d45c0faf26372f3c38e86",
      "status": "success",
      "buildurl": "https://github.com/r-universe/macmillancontentscience/actions/runs/25718754671"
    }
  ]
}