{
  "_id": "6a1d70511d7bb097a0a50406",
  "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://jonthegeek.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-06-01 11:40:14 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": "963953925372aec1d42ac3e329ed9c27",
  "_user": "jonthegeek",
  "_type": "src",
  "_file": "wordpiece_2.1.3.tar.gz",
  "_fileid": "6e4a66427b41853fab978eec9663335a153b8c9de9d780288cbac6b46e088525",
  "_filesize": 107706,
  "_sha256": "6e4a66427b41853fab978eec9663335a153b8c9de9d780288cbac6b46e088525",
  "_created": "2026-06-01T11:40:14.000Z",
  "_published": "2026-06-01T11:43:13.047Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78844339063,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7330519024"
    },
    {
      "job": 78844339034,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7330521990"
    },
    {
      "job": 78844339040,
      "time": 81,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7330504813"
    },
    {
      "job": 78844338971,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7330524610"
    },
    {
      "job": 78843848430,
      "time": 181,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7330479360"
    },
    {
      "job": 78844338974,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7330516894"
    },
    {
      "job": 78844339027,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7330502835"
    },
    {
      "job": 78844339238,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7330507985"
    },
    {
      "job": 78844339056,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7330504381"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/26752494951",
  "_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",
    "description": "",
    "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": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "jonathanbratt",
      "count": 14,
      "uuid": 33073024
    },
    {
      "user": "jonthegeek",
      "count": 7,
      "uuid": 33983824
    }
  ],
  "_userbio": {
    "uuid": 33983824,
    "type": "user",
    "name": "Jon Harmon",
    "description": "Executive Director at DSLC.io (fka @r4ds) | Principal Developer (@atorus-research)"
  },
  "_downloads": {
    "count": 213,
    "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": false,
  "_nocasepkg": "wordpiece",
  "_universes": [
    "jonthegeek"
  ],
  "_indexurl": "https://macmillancontentscience.r-universe.dev/wordpiece",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-01T11:42:16.000Z",
      "distro": "noble",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "0ed6a9a5581bdd0e52272f8b63b693bb32514b6b3e9bbdabdbdb23b25db99cfa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/26752494951"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.3",
      "date": "2026-06-01T11:42:25.000Z",
      "distro": "noble",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "498b9b570d7622f4b1d624195a6462445f0706899be6baeaa6661919295976c8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/26752494951"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-06-01T11:41:37.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "19cbd5a30427261dd5696c7e1b249db6d70e89c0975f4dc2f29a9cc36a428a33",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/26752494951"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.3",
      "date": "2026-06-01T11:42:30.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "c32e7eaa7b6cc027b337fde0185cc559126b8081cf318c6185da7978db1477ab",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/26752494951"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.3",
      "date": "2026-06-01T11:42:24.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "dbb2325a19d53c1b9ec057b3736339f37ac27d7744e0251b2f2cc0e3d888cf82",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/26752494951"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-06-01T11:41:22.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "34bebaaddc5bb6fe364d83bbcec694e468243fb47b7ec73e8363a917dbc2eeed",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/26752494951"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-06-01T11:41:38.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "0eeba1e76fca700e3799105168a47897a49bfb57d3633c8d3c2645398028b0d7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/26752494951"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.3",
      "date": "2026-06-01T11:41:26.000Z",
      "commit": "3eb92c759556e89d235202c45decb2dc859e661d",
      "fileid": "dafa8b7b504afee7bc3f0ea1ce8426182e248c74fcd1efad3cdc6e775993f9e7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/26752494951"
    }
  ]
}