Skip to content

Commit

Permalink
code comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ddangelov committed Dec 7, 2020
1 parent 8ed4a1e commit a8acdf5
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions top2vec/Top2Vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -892,8 +892,8 @@ def index_document_vectors(self, ef_construction=200, M=64):
greater accuracy but will result in a larger index as well as
longer construction time.
For more information on the parameters see:
https://github.com/nmslib/hnswlib/blob/master/ALGO_PARAMS.md
For more information on the parameters see:
https://github.com/nmslib/hnswlib/blob/master/ALGO_PARAMS.md
"""

self._check_hnswlib_status()
Expand Down Expand Up @@ -1449,9 +1449,8 @@ def search_documents_by_vector(self, vector, num_docs, return_documents=True, us
Higher ef leads to more accurate but slower search. This value
must be higher than num_docs.
For more information see:
https://github.com/nmslib/hnswlib/blob/master/ALGO_PARAMS.md
For more information see:
https://github.com/nmslib/hnswlib/blob/master/ALGO_PARAMS.md
Returns
-------
Expand Down Expand Up @@ -1602,9 +1601,8 @@ def search_documents_by_keywords(self, keywords, num_docs, keywords_neg=None, re
Higher ef leads to more accurate but slower search. This value
must be higher than num_docs.
For more information see:
https://github.com/nmslib/hnswlib/blob/master/ALGO_PARAMS.md
For more information see:
https://github.com/nmslib/hnswlib/blob/master/ALGO_PARAMS.md
Returns
-------
Expand Down Expand Up @@ -1840,9 +1838,8 @@ def search_documents_by_documents(self, doc_ids, num_docs, doc_ids_neg=None, ret
Higher ef leads to more accurate but slower search. This value
must be higher than num_docs.
For more information see:
https://github.com/nmslib/hnswlib/blob/master/ALGO_PARAMS.md
For more information see:
https://github.com/nmslib/hnswlib/blob/master/ALGO_PARAMS.md
Returns
-------
Expand Down

0 comments on commit a8acdf5

Please sign in to comment.