R/RcppExports.R

Defines functions crfsuite_predict crfsuite_model_coefficients crfsuite_model_dump crfsuite_model crfsuite_model_build crfsuite_model_parameters crfsuite_copyright

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

crfsuite_copyright <- function() {
    .Call('_crfsuite_crfsuite_copyright', PACKAGE = 'crfsuite')
}

crfsuite_model_parameters <- function(method, type = "crf1d") {
    .Call('_crfsuite_crfsuite_model_parameters', PACKAGE = 'crfsuite', method, type)
}

crfsuite_model_build <- function(file_model, doc_id, y, x, embeddings, options, method = "lbfgs", type = "crf1d", trace = 0L) {
    .Call('_crfsuite_crfsuite_model_build', PACKAGE = 'crfsuite', file_model, doc_id, y, x, embeddings, options, method, type, trace)
}

crfsuite_model <- function(file_model) {
    .Call('_crfsuite_crfsuite_model', PACKAGE = 'crfsuite', file_model)
}

crfsuite_model_dump <- function(file_model, file_txt) {
    invisible(.Call('_crfsuite_crfsuite_model_dump', PACKAGE = 'crfsuite', file_model, file_txt))
}

crfsuite_model_coefficients <- function(file_model) {
    .Call('_crfsuite_crfsuite_model_coefficients', PACKAGE = 'crfsuite', file_model)
}

crfsuite_predict <- function(file_model, doc_id, x, embeddings, trace = 0L) {
    .Call('_crfsuite_crfsuite_predict', PACKAGE = 'crfsuite', file_model, doc_id, x, embeddings, trace)
}

Try the crfsuite package in your browser

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

crfsuite documentation built on Sept. 17, 2023, 1:06 a.m.