nlp - How to find the semantic similarity between 2 sentences? -


please tell me methods find semantic similarity between sentences.

for example:  sen1 :- ram killed ravan sen2 :- sam killed ravan 

what similarity between both sentences?

methods find semantic similarity of sentences: check vector representation models - form word doc matrix , find cosine similarity between each dimensions.

check lsa (latent semantic analysis) 

https://en.wikipedia.org/wiki/latent_semantic_analysis

this method helps give semantic similarity between words vehicle , car. but, bag of words model(bow).


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -