-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add support for using Annoy as an external similarity index #774
Conversation
Thanks for the PR to @droudy and @karlhigley! |
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"This tutorial is about using the Annoy(Approximate Nearest Neighbors Oh Yeah) library for similarity queries in gensim" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add hyperlink to Annoy here.
Nice functionality! Thank you. I added comment for fixing a few minor typos. @tmylk I'd still add some conclusions / CTA section at the end. The ending reads a little weird. |
"metadata": {}, | ||
"source": [ | ||
"### Using the SimilarityIndex class\n", | ||
"An instance of `SimilarityIndex` needs to be created in order to use Annoy in gensim. The `SimilarityIndex` class is located in `gensim/similarities/index`\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's meant to be a filesystem path, use extension too (and perhaps even hyperlink).
(Related to #617, #527, and #51.)
Implementation + tests + tutorial