R/RcppExports.R

Defines functions cpp_w2v cpp_get_max_thread

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

cpp_get_max_thread <- function() {
    .Call('_wordvector_cpp_get_max_thread', PACKAGE = 'wordvector')
}

cpp_w2v <- function(xptr, size = 100L, window = 5L, sample = 0.001, withHS = FALSE, negative = 5L, threads = 1L, iterations = 5L, alpha = 0.05, type = 1L, verbose = FALSE, normalize = TRUE, model = NULL) {
    .Call('_wordvector_cpp_w2v', PACKAGE = 'wordvector', xptr, size, window, sample, withHS, negative, threads, iterations, alpha, type, verbose, normalize, model)
}

Try the wordvector package in your browser

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

wordvector documentation built on June 8, 2025, 9:40 p.m.