conversation <- data.frame(
processed_text = c("The weather is nice", "It's a beautiful day",
"The sun is shining", "Perfect day for a picnic")
)
result <- sem_sim_seq(conversation, method = "tfidf", window_size = 2)
print(result)
Run the code above in your browser using DataLab