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
Post a Comment