Description Usage Arguments Details Value Examples
View source: R/get_search_terms.R
Get search terms in dictionary
1 | get_search_terms(words, dictionary)
|
words |
character a string with words |
dictionary |
character vector containing all words in corpus |
uses the breakdown function from LSAfun to get rid of special characters and convert to lowercase. The dictionary_words
variable contains 100 sample words.
character vector with words that are in the dictionary
1 2 3 | search <- "foreward firetruck by the president"
corpus <- dictionary_words
get_search_terms(search,corpus)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.