-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) * Fix misinformation in SoftCosineSimilarity and WmdSimilarity docstrings * Properly handle corpora in SoftCosineSimilarity.get_similarities * Remove unnecessary member variables in SoftCosineSimilarity tests * Add corpus and TransformedCorpus query tests for SoftCosineSimilarity * Fix a test of non-diagonal results from SoftCosineSimilarity * Allow precision error in soft cosine between two identical documents * Make corpus query tests for SoftCosineSimilarity query the correct index * Remove extra blank like in SoftCosineSimilarity.get_similarities
- Loading branch information
1 parent
49df463
commit 97c280f
Showing
2 changed files
with
47 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters