We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to get Relaxed-WMD with spacy. However, there is only function which calculate similarity . Is there calculating distance function like Gensim?
distance = model.wmdistance(sentence_obama, sentence_president) distance : 3.3741
Or Can you please explain how to calculate WMD distance?
The text was updated successfully, but these errors were encountered:
Please refer to https://github.com/src-d/wmd-relax/blob/master/wmd/__init__.py#L626
I think that although it is named "similarity", it really means "distance" because when it returns 0 the items are identical.
Sorry, something went wrong.
No branches or pull requests
I want to get Relaxed-WMD with spacy. However, there is only function which calculate similarity .
Is there calculating distance function like Gensim?
Or Can you please explain how to calculate WMD distance?
The text was updated successfully, but these errors were encountered: