Learn R Programming

wordpiece (version 2.1.3)

wordpiece_cache_dir: Retrieve Directory for wordpiece Cache

Description

The wordpiece cache directory is a platform- and user-specific path where wordpiece saves caches (such as a downloaded vocabulary). You can override the default location in a few ways:

  • Option: wordpiece.dirUse set_wordpiece_cache_dir to set a specific cache directory for this session

  • Environment: WORDPIECE_CACHE_DIRSet this environment variable to specify a wordpiece cache directory for all sessions.

  • Environment: R_USER_CACHE_DIRSet this environment variable to specify a cache directory root for all packages that use the caching system.

Usage

wordpiece_cache_dir()

Arguments

Value

A character vector with the normalized path to the cache.