This is an API for downloading, getting information and loading datasets/models. See [RaRe-Technologies/gensim-data](https://github.com/RaRe-Technologies/gensim-data) repo for more information about models/datasets/how-to-add-new/etc.

api_info(name = NULL, ..., to_r = TRUE)

api_load(name, ...)

Arguments

name

A specific dataset, i.e.: text8.

...

Any other argument from the official documentation.

to_r

Whether to return the information in R data structure (list).

Examples

# NOT RUN {
# available models to use with `api_load`
(models <- api_info() %>% names())

# load random model
api_load(sample(models, 1))
# }