load_model: Load an existing fastText trained model

Description Usage Arguments Examples

View source: R/API.R

Description

Load and return a pointer to an existing model which will be used in other functions of this package.

Usage

1
load_model(path)

Arguments

path

path to the existing model

Examples

1
2
3
library(fastrtext)
model_test_path <- system.file("extdata", "model_classification_test.bin", package = "fastrtext")
model <- load_model(model_test_path)

fastrtext documentation built on Dec. 10, 2017, 1:03 a.m.