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 June 22, 2024, 7:16 p.m.