Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with space #11

Open
saravanansaminathan opened this issue Mar 4, 2020 · 1 comment
Open

Problem with space #11

saravanansaminathan opened this issue Mar 4, 2020 · 1 comment

Comments

@saravanansaminathan
Copy link

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)

@Sheldon1999
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants