Skip to content

Commit 1c97b5d

Browse files
authored
Merge pull request #253 from dyashuni/patch-1
Fixes of some typos in readme
2 parents cee0e99 + a64a001 commit 1c97b5d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Header-only C++ HNSW implementation with python bindings. Paper's code for the H
33

44
**NEWS:**
55

6-
* **Thanks to Apoorv Sharma [@apoorv-sharma](https://github.com/apoorv-sharma), hnswlib now supports true element updates (the interface remained the same, but when you the perfromance/memory should not degrade as you update the element embeddinds).**
6+
* **Thanks to Apoorv Sharma [@apoorv-sharma](https://github.com/apoorv-sharma), hnswlib now supports true element updates (the interface remained the same, but when you the perfromance/memory should not degrade as you update the element embeddings).**
77

8-
* **Thanks to Dmitry [@2ooom](https://github.com/2ooom), hnswlib got a boost in performance for vector dimensions that are not mutiple of 4**
8+
* **Thanks to Dmitry [@2ooom](https://github.com/2ooom), hnswlib got a boost in performance for vector dimensions that are not multiple of 4**
99

1010
* **Thanks to Louis Abraham ([@louisabraham](https://github.com/louisabraham)) hnswlib can now be installed via pip!**
1111

@@ -49,14 +49,14 @@ For other spaces use the nmslib library https://github.com/nmslib/nmslib.
4949
* `data_labels` specifies the labels for the data. If index already has the elements with the same labels, their features will be updated. Note that update procedure is slower than insertion of a new element, but more memory- and query-efficient.
5050
* Thread-safe with other `add_items` calls, but not with `knn_query`.
5151

52-
* `mark_deleted(data_label)` - marks the element as deleted, so it will be ommited from search results.
52+
* `mark_deleted(data_label)` - marks the element as deleted, so it will be omitted from search results.
5353

5454
* `resize_index(new_size)` - changes the maximum capacity of the index. Not thread safe with `add_items` and `knn_query`.
5555

5656
* `set_ef(ef)` - sets the query time accuracy/speed trade-off, defined by the `ef` parameter (
5757
[ALGO_PARAMS.md](ALGO_PARAMS.md)). Note that the parameter is currently not saved along with the index, so you need to set it manually after loading.
5858

59-
* `knn_query(data, k = 1, num_threads = -1)` make a batch query for `k` closests elements for each element of the
59+
* `knn_query(data, k = 1, num_threads = -1)` make a batch query for `k` closest elements for each element of the
6060
* `data` (shape:`N*dim`). Returns a numpy array of (shape:`N*k`).
6161
* `num_threads` sets the number of cpu threads to use (-1 means use default).
6262
* Thread-safe with other `knn_query` calls, but not with `add_items`.
@@ -223,7 +223,7 @@ or you can install via pip:
223223

224224
### Other implementations
225225
* Non-metric space library (nmslib) - main library(python, C++), supports exotic distances: https://github.com/nmslib/nmslib
226-
* Faiss libary by facebook, uses own HNSW implementation for coarse quantization (python, C++):
226+
* Faiss library by facebook, uses own HNSW implementation for coarse quantization (python, C++):
227227
https://github.com/facebookresearch/faiss
228228
* Code for the paper
229229
["Revisiting the Inverted Indices for Billion-Scale Approximate Nearest Neighbors"](https://arxiv.org/abs/1802.02422)

0 commit comments

Comments
 (0)