ft_load_model: Load Fasttext Model Files

Description Usage Arguments Author(s) Examples

View source: R/core.R

Description

Loads the model files into memory for the specified language. You must first download the respective language file using ft_download_model.

Usage

1
ft_load_model(lang = "en", location = NULL)

Arguments

lang

the two letter language code specifying the language you would like to download. See the function ft_languages for a complete list of available choices.

location

Path to directory where models should be saved. Defaults to the directory where the package is installed.

Author(s)

Taylor B. Arnold, taylor.arnold@acm.org

Examples

1
ft_load_model(lang = "en")

statsmaths/fasttextM documentation built on April 2, 2020, 5:33 p.m.