similar_words: Compute most similar words to a dictionary of seed words

View source: R/augmentation.R

similar_wordsR Documentation

Compute most similar words to a dictionary of seed words

Description

Compute most similar words to a dictionary of seed words

Usage

similar_words(dictionary, vectors, antonyms = NULL)

Arguments

dictionary

a character vector of words containing wildcards

vectors

A vectors object, e.g. as returned by load_fasttext

k

the (maximum) number of neighbours to return

Value

along-format tibble containing columns word and dist


vanatteveldt/CAVA documentation built on June 4, 2022, 1:20 p.m.