Description Usage Arguments Details Value Examples
View source: R/text_processing.R
Retrieves a set of words related to a particular word
1 | words_closeness(word, jaccard, criter = 0.01, exact = FALSE)
|
word |
A character word to analyze |
jaccard |
A |
criter |
Minimun number in the index to show |
exact |
When |
After applying the jaccard_coef()
function, the
resulting object can be analyzed with this function.
A data frame containing the list of words that are related
to the specified word
1 2 3 4 5 6 7 8 | ## Not run:
# Computing the jaccard coefficient
jaccard <- jaccard_coef(tweets$text)
# See what words are related with abortion
words_closeness('abortion',jaccard,.001)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.