stylistic_similarity {conversim} | R Documentation |
This function calculates various stylistic features and their similarity between two conversations.
stylistic_similarity(text1, text2)
text1 |
A character string representing the first conversation |
text2 |
A character string representing the second conversation |
A list containing stylistic features and similarity measures
text1 <- "The quick brown fox jumps over the lazy dog. It's a sunny day."
text2 <- "A lazy cat sleeps on the warm windowsill. Birds chirp outside."
stylistic_similarity(text1, text2)