R/RcppExports.R

Defines functions Rft_analogies Rft_nearest_neighbors Rft_sentence_vectors Rft_word_vectors Rft_all_words Rft_test Rft_predict_vec Rft_dict_get_ntokens Rft_dict_get_nlabels Rft_dict_get_nwords Rft_train Rft_save_vectors Rft_save_output Rft_save_model Rft_load_model Rft_new_model Rft_model_type clean_text

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

clean_text <- function(x) {
    .Call(`_fastTextR_clean_text`, x)
}

Rft_model_type <- function(ft) {
    .Call(`_fastTextR_Rft_model_type`, ft)
}

Rft_new_model <- function() {
    .Call(`_fastTextR_Rft_new_model`)
}

Rft_load_model <- function(file_name) {
    .Call(`_fastTextR_Rft_load_model`, file_name)
}

Rft_save_model <- function(ft, file_name) {
    .Call(`_fastTextR_Rft_save_model`, ft, file_name)
}

Rft_save_output <- function(ft, file_name) {
    .Call(`_fastTextR_Rft_save_output`, ft, file_name)
}

Rft_save_vectors <- function(ft, file_name) {
    .Call(`_fastTextR_Rft_save_vectors`, ft, file_name)
}

Rft_train <- function(control) {
    .Call(`_fastTextR_Rft_train`, control)
}

Rft_dict_get_nwords <- function(ft) {
    .Call(`_fastTextR_Rft_dict_get_nwords`, ft)
}

Rft_dict_get_nlabels <- function(ft) {
    .Call(`_fastTextR_Rft_dict_get_nlabels`, ft)
}

Rft_dict_get_ntokens <- function(ft) {
    .Call(`_fastTextR_Rft_dict_get_ntokens`, ft)
}

Rft_predict_vec <- function(ft, newdata, k, threshold) {
    .Call(`_fastTextR_Rft_predict_vec`, ft, newdata, k, threshold)
}

Rft_test <- function(ft, file_name, k, threshold) {
    .Call(`_fastTextR_Rft_test`, ft, file_name, k, threshold)
}

Rft_all_words <- function(ft) {
    .Call(`_fastTextR_Rft_all_words`, ft)
}

Rft_word_vectors <- function(ft, words) {
    .Call(`_fastTextR_Rft_word_vectors`, ft, words)
}

Rft_sentence_vectors <- function(ft, sentences) {
    .Call(`_fastTextR_Rft_sentence_vectors`, ft, sentences)
}

Rft_nearest_neighbors <- function(ft, word, k = 10L) {
    .Call(`_fastTextR_Rft_nearest_neighbors`, ft, word, k)
}

Rft_analogies <- function(ft, wordA, wordB, wordC, k = 10L) {
    .Call(`_fastTextR_Rft_analogies`, ft, wordA, wordB, wordC, k)
}

Try the fastTextR package in your browser

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

fastTextR documentation built on June 22, 2024, 7:16 p.m.