ft_analogies: Get Analogies

View source: R/fasttext.R

ft_analogiesR Documentation

Get Analogies

Description

TODO

Usage

ft_analogies(model, word_triplets, k = 10L)

Arguments

model

an object inheriting from "fasttext".

word_triplets

a character vector of length string giving the word.

k

an integer giving the number of nearest neighbors to be returned.

Value

.

Examples

## Not run: 
ft_analogies(model, c("berlin", "germany", "france"), k = 6L)

## End(Not run)

fastTextR documentation built on Oct. 31, 2022, 9:06 a.m.