R/dictionary.R

Defines functions dictionary

Documented in dictionary

#' Create a Dictionary
#'
#' @param dict tibble with column `word`
#'
#' @return tibble
#' @export
#'
#' @examples
#' \donttest{
#' dict <- dictionary()
#' }
dictionary <- function(dict = words::words) {
  dict %>%
    tibble::as_tibble() %>%
    dplyr::mutate(chars = letters_list(word))
}
christopherkenny/acroname documentation built on Dec. 19, 2021, 4:02 p.m.