Skip to content

Commit 0e3845f

Browse files
committed
Fix missed typo
1 parent 20555b7 commit 0e3845f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

python_bindings/tests/bindings_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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("\nLoading index from '%s'\n" % index_path)

python_bindings/tests/bindings_test_getdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

python_bindings/tests/bindings_test_labels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)