cnlp_init_udpipe

0th

Percentile

Interface for initializing the udpipe backend

This function must be run before annotating text with the udpipe backend. It will parse in English by default, but you can load other models as well.

Usage
cnlp_init_udpipe(model_name = NULL, model_path = NULL,
  feature_flag = FALSE, parser = "default")
Arguments
model_name

string giving the model namel. Defaults to "english" if NULL. Ignored if model_path is not NULL.

model_path

provide a full path to a model file.

feature_flag

boolean. Should universal features be included in the output.

parser

a character string of length 1, which is either 'default' (default udpipe dependency parsing) or 'none' (no dependency parsing needed) or a character string with more complex parsing options

Aliases
  • cnlp_init_udpipe
Examples
# NOT RUN {
cnlp_init_udpipe(model_name = "english")
# }
# NOT RUN {
# }
Documentation reproduced from package cleanNLP, version 2.3.0, License: LGPL-2

Community examples

Looks like there are no examples yet.