get_dictionary: Get list of known words

Description Usage Arguments Value Examples

View source: R/API.R

Description

Get a character containing each word seen during training.

Usage

1

Arguments

model

trained fastText model

Value

character containing each word

Examples

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

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