R/RcppExports.R

Defines functions cpp_tbb_enabled cpp_get_max_thread cpp_set_meta address cpp_get_load_factor cpp_is_grouped_character cpp_is_grouped_numeric cpp_dfm cpp_recompile cpp_set_types cpp_get_types cpp_ntype cpp_ntoken cpp_ndoc cpp_subset cpp_as_list cpp_get_attributes cpp_copy_xptr cpp_as_xptr cpp_tokens_select cpp_tokens_segment cpp_tokens_restore cpp_tokens_replace cpp_tokens_ngrams cpp_tokens_lookup cpp_tokens_group cpp_tokens_compound cpp_tokens_combine cpp_tokens_chunk cpp_serialize_add cpp_serialize cpp_index_types cpp_kwic cpp_index cpp_fcm

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

cpp_fcm <- function(xptr, n_types, weights_, boolean, ordered, thread = -1L) {
    .Call(`_quanteda_cpp_fcm`, xptr, n_types, weights_, boolean, ordered, thread)
}

cpp_index <- function(xptr, words_, thread = -1L) {
    .Call(`_quanteda_cpp_index`, xptr, words_, thread)
}

cpp_kwic <- function(xptr, documents_, pos_from_, pos_to_, window, delim_ = " ", thread = -1L) {
    .Call(`_quanteda_cpp_kwic`, xptr, documents_, pos_from_, pos_to_, window, delim_, thread)
}

cpp_index_types <- function(patterns_, types_, glob = TRUE) {
    .Call(`_quanteda_cpp_index_types`, patterns_, types_, glob)
}

cpp_serialize <- function(texts_, thread = -1L) {
    .Call(`_quanteda_cpp_serialize`, texts_, thread)
}

cpp_serialize_add <- function(texts_, xptr, thread = -1L) {
    .Call(`_quanteda_cpp_serialize_add`, texts_, xptr, thread)
}

cpp_tokens_chunk <- function(xptr, size, overlap, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_chunk`, xptr, size, overlap, thread)
}

cpp_tokens_combine <- function(xptr1, xptr2, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_combine`, xptr1, xptr2, thread)
}

cpp_tokens_compound <- function(xptr, compounds_, delim_, join, window_left, window_right, bypass_, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_compound`, xptr, compounds_, delim_, join, window_left, window_right, bypass_, thread)
}

cpp_tokens_group <- function(xptr, groups_, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_group`, xptr, groups_, thread)
}

cpp_tokens_lookup <- function(xptr, words_, keys_, types_, overlap, nomatch, bypass_, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_lookup`, xptr, words_, keys_, types_, overlap, nomatch, bypass_, thread)
}

cpp_tokens_ngrams <- function(xptr, delim_, ns_, skips_, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_ngrams`, xptr, delim_, ns_, skips_, thread)
}

cpp_tokens_replace <- function(xptr, patterns_, replacements_, bypass_, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_replace`, xptr, patterns_, replacements_, bypass_, thread)
}

cpp_tokens_restore <- function(xptr, marks_left_, marks_right_, delim_, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_restore`, xptr, marks_left_, marks_right_, delim_, thread)
}

cpp_tokens_segment <- function(xptr, patterns_, remove, position, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_segment`, xptr, patterns_, remove, position, thread)
}

cpp_tokens_select <- function(xptr, words_, mode, padding, window_left, window_right, pos_from_, pos_to_, bypass_, thread = -1L) {
    .Call(`_quanteda_cpp_tokens_select`, xptr, words_, mode, padding, window_left, window_right, pos_from_, pos_to_, bypass_, thread)
}

cpp_as_xptr <- function(text_, types_) {
    .Call(`_quanteda_cpp_as_xptr`, text_, types_)
}

cpp_copy_xptr <- function(xptr) {
    .Call(`_quanteda_cpp_copy_xptr`, xptr)
}

cpp_get_attributes <- function(xptr) {
    .Call(`_quanteda_cpp_get_attributes`, xptr)
}

cpp_as_list <- function(xptr) {
    .Call(`_quanteda_cpp_as_list`, xptr)
}

cpp_subset <- function(xptr, index_) {
    .Call(`_quanteda_cpp_subset`, xptr, index_)
}

cpp_ndoc <- function(xptr) {
    .Call(`_quanteda_cpp_ndoc`, xptr)
}

cpp_ntoken <- function(xptr, padding = TRUE) {
    .Call(`_quanteda_cpp_ntoken`, xptr, padding)
}

cpp_ntype <- function(xptr, padding = TRUE) {
    .Call(`_quanteda_cpp_ntype`, xptr, padding)
}

cpp_get_types <- function(xptr, recompile = FALSE) {
    .Call(`_quanteda_cpp_get_types`, xptr, recompile)
}

cpp_set_types <- function(xptr, types_) {
    .Call(`_quanteda_cpp_set_types`, xptr, types_)
}

cpp_recompile <- function(xptr) {
    invisible(.Call(`_quanteda_cpp_recompile`, xptr))
}

cpp_dfm <- function(xptr, recompile = TRUE) {
    .Call(`_quanteda_cpp_dfm`, xptr, recompile)
}

cpp_is_grouped_numeric <- function(values_, groups_) {
    .Call(`_quanteda_cpp_is_grouped_numeric`, values_, groups_)
}

cpp_is_grouped_character <- function(values_, groups_) {
    .Call(`_quanteda_cpp_is_grouped_character`, values_, groups_)
}

cpp_get_load_factor <- function() {
    .Call(`_quanteda_cpp_get_load_factor`)
}

address <- function(x) {
    .Call(`_quanteda_address`, x)
}

cpp_set_meta <- function(object_, meta_) {
    invisible(.Call(`_quanteda_cpp_set_meta`, object_, meta_))
}

cpp_get_max_thread <- function() {
    .Call(`_quanteda_cpp_get_max_thread`)
}

cpp_tbb_enabled <- function() {
    .Call(`_quanteda_cpp_tbb_enabled`)
}
quanteda/quanteda documentation built on April 15, 2024, 7:59 a.m.