Description Usage Arguments Value
Compute similarity vector between a cue word and all words in the vocabulary of an embeddings model
1 |
cue |
cue word for which similarity vector will be computed |
embeds |
embeddings model (V by D matrix) |
method |
a |
norm |
a |
rank |
logical value indicating whether to return a vector of similarities or ranks |
a numeric vector of cosine similarities (or ranks if indicated) between all words in the vocabulary and the cue word
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.