load_pretrained: Download and load pretrained word2vector models...

Description Usage Arguments Value Examples

View source: R/coRPysprofiling.R

Description

Download and load pretrained word2vector models (https://github.com/maxoodf/word2vec#basic-usage)

Usage

1
load_pretrained(dir = "inst/extdata", model_name = "cb_ns_500_10")

Arguments

dir

character vector for name of dir where pretrained models will be downloaded, optional (default: "inst/extdata")

model_name

character vector for name of pretrained model, optional (default: "cb_ns_500_10")

Value

word2vec model object

Examples

1
2
coRPysprofiling::load_pretrained()
coRPysprofiling::load_pretrained(model_name = "sg_hs_500_10")

UBC-MDS/coRPysprofiling-R documentation built on March 30, 2021, 12:02 p.m.