Description Usage Arguments Value Examples
The jaccard distance computes the percentage of terms in the 2 vectors which are overlapping.
1 | textrank_jaccard(termsa, termsb)
|
termsa |
a character vector of words |
termsb |
a character vector of words |
The Jaccard distance distance between the 2 vectors
1 2 3 | sentencea <- c("I", "like", "champaign")
sentenceb <- c("I", "prefer", "choco")
textrank_jaccard(termsa = sentencea, termsb = sentenceb)
|
[1] 0.2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.