sum_wordvec | R Documentation |
Calculate the sum vector of multiple words.
sum_wordvec(data, x = NULL, verbose = TRUE)
data |
A |
x |
Can be:
|
verbose |
Print information to the console? Defaults to |
Normalized sum vector.
Download pre-trained word vectors data (.RData
):
https://psychbruce.github.io/WordVector_RData.pdf
normalize
most_similar
dict_expand
dict_reliability
sum_wordvec(normalize(demodata), ~ king - man + woman)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.