R/RcppExports.R

Defines functions udp_evaluate udp_train na_locf udp_tokenise_tag_parse_basic udp_tokenise_tag_parse udp_load_model phrases_regex_locate dependency_rowlocations

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

dependency_rowlocations <- function(row, x, depth = 1L) {
    .Call('_udpipe_dependency_rowlocations', PACKAGE = 'udpipe', row, x, depth)
}

phrases_regex_locate <- function(x, pattern, ngram_max) {
    .Call('_udpipe_phrases_regex_locate', PACKAGE = 'udpipe', x, pattern, ngram_max)
}

udp_load_model <- function(file_model) {
    .Call('_udpipe_udp_load_model', PACKAGE = 'udpipe', file_model)
}

udp_tokenise_tag_parse <- function(udmodel, x, docid, annotation_tokenizer, annotation_tagger, annotation_parser, log_every, current_time, output_format = "conllu") {
    .Call('_udpipe_udp_tokenise_tag_parse', PACKAGE = 'udpipe', udmodel, x, docid, annotation_tokenizer, annotation_tagger, annotation_parser, log_every, current_time, output_format)
}

udp_tokenise_tag_parse_basic <- function(udmodel, x, docid, annotation_tokenizer, annotation_tagger, annotation_parser, log_every, current_time) {
    .Call('_udpipe_udp_tokenise_tag_parse_basic', PACKAGE = 'udpipe', udmodel, x, docid, annotation_tokenizer, annotation_tagger, annotation_parser, log_every, current_time)
}

na_locf <- function(x) {
    .Call('_udpipe_na_locf', PACKAGE = 'udpipe', x)
}

udp_train <- function(file_model, conllu_input_files, conllu_heldout_files, annotation_tokenizer, annotation_tagger, annotation_parser) {
    .Call('_udpipe_udp_train', PACKAGE = 'udpipe', file_model, conllu_input_files, conllu_heldout_files, annotation_tokenizer, annotation_tagger, annotation_parser)
}

udp_evaluate <- function(udmodel, conllu_test_file, output_file, annotation_tokenizer, annotation_tagger, annotation_parser) {
    .Call('_udpipe_udp_evaluate', PACKAGE = 'udpipe', udmodel, conllu_test_file, output_file, annotation_tokenizer, annotation_tagger, annotation_parser)
}

Try the udpipe package in your browser

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

udpipe documentation built on Jan. 6, 2023, 5:06 p.m.