powered by
dice similarity of words using n-grams
dice_distance(word1, word2, n_grams = 2)
a float number
a character string
a value specifying the consecutive n-grams of the words
library(textTinyR) word1 = 'one_word' word2 = 'two_words' dts = dice_distance(word1, word2, n_grams = 2)
Run the code above in your browser using DataLab