This is the main function for loading dictionaries from the package. It automatically handles:
Core dictionaries (installed with package): sensorimotor, concreteness
On-demand dictionaries: automatically downloads if not found locally
Arguments
- name
Dictionary name (e.g., "global_surnames", "english_freqs").
- ...
Additional arguments passed to
load_dictionary.
Examples
if (FALSE) { # \dontrun{
# Load a core dictionary (already installed)
sens <- get_dictionary("sensorimotor")
# Load an on-demand dictionary (auto-downloads if needed)
surnames <- get_dictionary("global_surnames")
# Load with specific format
data <- get_dictionary("english_freqs", format = "rda")
# Check if downloaded without auto-download
data <- get_dictionary("organisms", auto_download = FALSE)
} # }
# See all available dictionaries:
# browseURL("https://culturalcartography.gitlab.io/text2map.dictionaries/")
