Description Usage Arguments Value
View source: R/sl_beagle_vectors.R
Create BEAGLE vectors for words
1 2 | sl_beagle_vectors(s_ids, dictionary = dictionary_words, riv = c(1024,
30), verbose = 500)
|
s_ids |
list of sentences as character vectors |
dictionary |
character vector of all words in the dictionary |
riv |
integer vector c(dim,sparsity) for number of dimensions and sparsity |
verbose |
integer printing option to track progress report every n times |
matrix each row is the semantic vector for each word in dictionary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.