Learn R Programming

nametagger (version 0.1.7)

nametagger_download_model: Download a Nametag model

Description

Download a Nametag model. Note that models have licence CC-BY-SA-NC. More details at https://ufal.mff.cuni.cz/nametag/1.

Usage

nametagger_download_model(
  language = c("english-conll-140408", "czech-cnec-140304"),
  model_dir = tempdir()
)

Value

an object of class nametagger

Arguments

language

Language model to download, 'english-conll-140408' (default) or 'czech-cnec-140304'

model_dir

a path where the model will be downloaded to.

References

https://ufal.mff.cuni.cz/nametag/1/users-manual https://lindat.mff.cuni.cz/repository/xmlui/handle/11234/1-3118 https://lindat.mff.cuni.cz/repository/xmlui/handle/11858/00-097C-0000-0023-7D42-8

Examples

Run this code
# \donttest{
model <- nametagger_download_model("english-conll-140408", model_dir = tempdir())
model <- nametagger_download_model("czech-cnec-140304", model_dir = tempdir())
# }

Run the code above in your browser using DataLab