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

Find similarity between sentences #122

Open
SionHu opened this issue Sep 8, 2020 · 1 comment
Open

Find similarity between sentences #122

SionHu opened this issue Sep 8, 2020 · 1 comment

Comments

@SionHu
Copy link

SionHu commented Sep 8, 2020

Thanks so much for the great work and nice documentation!

I have a question regarding using the sense2vec to find the similarity score between 2 sentences. For example, "What is the color of the airplane?" and "what are the colors of these planes" should have a very high similarity score.

I found the related section in your document discussing how to achieve this for words, but didn't find any for sentences.

Could you tell me where can I find the related information? Thanks ahead!

@Hellisotherpeople
Copy link

Well, the issue is that you need to give a POS tag to each word before it can disambiguate which vector to choose when doing the final pooling of your word vectors into a sentence vector.

Maybe you can use a POS tagger for this?

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