R/RcppExports.R

Defines functions skip_ngrams_vectorised generate_ngrams_batch

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

generate_ngrams_batch <- function(documents_list, ngram_min, ngram_max, stopwords = character(), ngram_delim = " ") {
    .Call(`_tokenizers_generate_ngrams_batch`, documents_list, ngram_min, ngram_max, stopwords, ngram_delim)
}

skip_ngrams_vectorised <- function(words, skips, stopwords) {
    .Call(`_tokenizers_skip_ngrams_vectorised`, words, skips, stopwords)
}

Try the tokenizers package in your browser

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

tokenizers documentation built on Dec. 28, 2022, 2:34 a.m.