# Compute the semantic similarity between the embeddings from "harmonytext" and "satisfactiontext".
if (FALSE) {
similarity_scores <- textSimilarity(
x = word_embeddings_4$texts$harmonytext,
y = word_embeddings_4$texts$satisfactiontext
)
# Show information about how similarity_scores were constructed.
comment(similarity_scores)
}
Run the code above in your browser using DataLab