R/RcppExports.R

Defines functions init cleanup hyphendict_is_loaded hyphenate

Documented in hyphenate hyphendict_is_loaded

# This file was generated by Rcpp::compileAttributes
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

init <- function(dict_path) {
    invisible(.Call('hyphenatr_init', PACKAGE = 'hyphenatr', dict_path))
}

cleanup <- function() {
    invisible(.Call('hyphenatr_cleanup', PACKAGE = 'hyphenatr'))
}

#' Test to see if the hyphenation language rules dictionary is loaded
#'
#' @export
#' @note The \code{en_US} hyphenation rules dictionary is loaded by default
hyphendict_is_loaded <- function() {
    .Call('hyphenatr_hyphendict_is_loaded', PACKAGE = 'hyphenatr')
}

hyphenate <- function(words) {
    .Call('hyphenatr_hyphenate', PACKAGE = 'hyphenatr', words)
}

Try the hyphenatr package in your browser

Any scripts or data that you put into this service are public.

hyphenatr documentation built on May 2, 2019, 5:58 a.m.