Skip to contents

Returns the file path to a downloaded model, if it exists.

Usage

model_path(model)

Arguments

model

Character string: name of the model.

Value

Character string: path to model file, or NULL if not downloaded.

Examples

model_path("vecs_sgns300_bnc_pos")
#> ! Model vecs_sgns300_bnc_pos is not downloaded.