semantic-text-similarity
semantic-text-similarity copied to clipboard
Problem with space
When I try to find the similarity between statement it shows less similarity for the same words with and without space
Code: web_model.predict([('crm plus','crmplus')])
Output : 0.8329288
But for some other words like web_model.predict([('iphone plus','iphoneplus')])
--> output: 3.4955034(high similarity)
I don't know much about implementation. But maybe this is because it does not measure similarity on the basis of characters or spaces but it focuses on how meaning full the sentence(phrase) is. The first pair might have a less similar meaning than the second pair.