-
Notifications
You must be signed in to change notification settings - Fork 64
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 a search method, to compare a non-corpus document to the corpus #6
Comments
This would be great to have. |
Any updates on above mentioned idea? |
Sorry, no update - I'm not actively using the gem, but happy to merge a PR :) |
Are you implementing cosine similarity in this gem for the last computation ? |
What last computation are you referring to? |
Finding similarity after you find out the tf-idf values and the matrix. Doesn't the code below find the document similarity between document1 and document2 using cosine similarity method? |
Yes, indeed. That's how to do it if the document is a part of the corpus. |
@jpmckinney Thanks for the information... |
No description provided.
The text was updated successfully, but these errors were encountered: