Search results

129 packages found

Computes the cosine similarity between two arrays.

published version 1.1.0, 2 years ago47 dependents
336,723

Calculates cosine similarity between 2 strings.

published version 2.0.1, 5 years ago1 dependents licensed under $MIT
1,865

Computes the cosine similarity between two vectors

published version 2.0.0, a year ago0 dependents licensed under $MIT
913

A very fast implementation of cosine-similarity for comparing two vectors. Up to 6x faster than the compute-cosine-similarity library.

published version 1.2.2, a year ago1 dependents licensed under $MIT
677

CmpStr is a lightweight, fast and well performing package for calculating string similarity

published version 3.0.1, 6 hours ago0 dependents licensed under $MIT
1,590

Text classification using n-grams and cosine similarity

published version 2.0.1, 2 years ago1 dependents licensed under $MIT
855

Lightweight Cosine Similarity Function. Built as an alternative to the compute-cosine-similarity package. Works with high dimension vectors like openAI embeddings

published version 1.8.0, 2 years ago0 dependents licensed under $ISC
122

Measures the similarity between two non-zero vectors.

published version 1.0.0-beta.1, 3 months ago0 dependents licensed under $MIT
32

Lightweight In-Memory Vector Database for Fast Similarity Search

published version 1.0.5, 13 hours ago0 dependents licensed under $MIT
51

Calculate the cosine distance between arrays

published version 1.0.0, 10 years ago4 dependents
1,582

A blazing-fast semantic search React component. Match by meaning, not just by letters. Search as you type without waiting (no debounce needed). Rank by cosine similarity.

published version 3.1.0, 9 months ago0 dependents licensed under $MIT
91

Semantically create chunks from large texts. Useful for workflows involving large language models (LLMs).

published version 2.4.3, 5 months ago2 dependents licensed under $ISC
1,197

Compute the cosine of a number.

published version 0.3.0, a year ago20 dependents licensed under $Apache-2.0
266,606

Compute the cosine of a double-precision floating-point number on [-π/4, π/4].

published version 0.2.3, a year ago3 dependents licensed under $Apache-2.0
263,128

Semantically create chunks from large texts. Useful for workflows involving large language models (LLMs).

published version 3.0.0, 11 days ago1 dependents licensed under $ISC
582

this module is using for calculating the cosine similarity and vector space model using tfidf

published version 1.0.161, 5 years ago0 dependents licensed under $MIT
11

Compute the cosine similarity of two vectors. Fully typed, 0 dependencies.

published version 1.0.4, 2 years ago0 dependents licensed under $ISC
14

Straightforward fuzzy matching, information retrieval and NLP building blocks for JavaScript.

published version 1.1.4, 4 years ago47 dependents licensed under $MIT
65,853

Evaluate the tangent of a number.

published version 0.3.0, a year ago8 dependents licensed under $Apache-2.0
38,327

Calculates cosine similarity of two vector values in Node-RED

published version 0.0.2, 4 months ago0 dependents licensed under $Apache-2.0
7