Description Super class Methods Examples
A datastructure to construct a dictionary for words as keys to numbers as values. This class also provides the method word2vec() to transform an already tokenized character vector into a word embeding. The default value for a missing value is 0 here. Specific editing can be done using the put() function.
RolliNLP::DictMap
-> WordDict
new()
WordDict$new(lower = F)
get()
WordDict$get(key)
add()
WordDict$add(word)
word2vec()
WordDict$word2vec(words)
clone()
The objects of this class are cloneable with this method.
WordDict$clone(deep = FALSE)
deep
Whether to make a deep clone.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.