File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ def testRandomSelf(self):
1818 # Declaring index
1919 p = hnswlib .Index (space = 'l2' , dim = dim ) # possible options are l2, cosine or ip
2020
21- # Initing index
21+ # Initiating index
2222 # max_elements - the maximum number of elements, should be known beforehand
2323 # (probably will be made optional in the future)
2424 #
2525 # ef_construction - controls index search speed/build speed tradeoff
2626 # M - is tightly connected with internal dimensionality of the data
27- # stronlgy affects the memory consumption
27+ # strongly affects the memory consumption
2828
2929 p .init_index (max_elements = num_elements , ef_construction = 100 , M = 16 )
3030
@@ -51,7 +51,7 @@ def testRandomSelf(self):
5151 p .save_index (index_path )
5252 del p
5353
54- # Reiniting , loading the index
54+ # Re-initiating , loading the index
5555 p = hnswlib .Index (space = 'l2' , dim = dim ) # you can change the sa
5656
5757 print ("\n Loading index from '%s'\n " % index_path )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def testGettingItems(self):
2525 #
2626 # ef_construction - controls index search speed/build speed tradeoff
2727 # M - is tightly connected with internal dimensionality of the data
28- # stronlgy affects the memory consumption
28+ # strongly affects the memory consumption
2929
3030 p .init_index (max_elements = num_elements , ef_construction = 100 , M = 16 )
3131
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ def testRandomSelf(self):
2121 # Declaring index
2222 p = hnswlib .Index (space = 'l2' , dim = dim ) # possible options are l2, cosine or ip
2323
24- # Initing index
24+ # Initiating index
2525 # max_elements - the maximum number of elements, should be known beforehand
2626 # (probably will be made optional in the future)
2727 #
2828 # ef_construction - controls index search speed/build speed tradeoff
2929 # M - is tightly connected with internal dimensionality of the data
30- # stronlgy affects the memory consumption
30+ # strongly affects the memory consumption
3131
3232 p .init_index (max_elements = num_elements , ef_construction = 100 , M = 16 )
3333
You can’t perform that action at this time.
0 commit comments