init_spaCy

0th

Percentile

Interface for initializing up the spaCy backend

This function must be run before annotating text with the tokenizers backend. It sets the properties for the spaCy engine and loads the file using the R to Python interface provided by reticulate.

Usage
init_spaCy(entity_flag = TRUE, vector_flag = FALSE, model_name = NULL)
Arguments
entity_flag

boolean. Should named entities be identified.

vector_flag

boolean. Should word vectors be computed and saved.

model_name

string giving the model name for the Python/spaCy backend. Defaults to "en" (English) if NULL.

Aliases
  • init_spaCy
Examples
# NOT RUN {
init_spaCy(vector_flag = TRUE)
# }
# NOT RUN {
# }
Documentation reproduced from package cleanNLP, version 1.10.0, License: LGPL-2

Community examples

Looks like there are no examples yet.