fastrtext (version 0.3.3)

get_dictionary: Get list of known words

Description

Get a character containing each word seen during training.

Usage

get_dictionary(model)

Arguments

model

trained fastText model

Value

character containing each word

Examples

Run this code
# NOT RUN {
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))

# }

Run the code above in your browser using DataLab