Description Usage Arguments Value Examples
View source: R/sl_word_ids_sentences.R
Get indexes for each word in sentence
1 | sl_word_ids_sentences(sentences, words)
|
sentences |
list of character vectors for each sentence |
words |
dictionary of words in corpus |
list of index vectors for each word in sentence
1 2 3 | my_words <- c("hello","this","is")
my_sentences <-list(c("hello","is"),c("this","is"))
sl_word_ids_sentences(my_sentences,my_words)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.