nlp-chasm
Split your long text into paragraphs using NLP attributes. Chasm allows you to easily split your long text with just a suingle command, all you need are a few language attributes for each token. That's it!
Split your long text into paragraphs using NLP attributes. Chasm allows you to easily split your long text with just a suingle command, all you need are a few language attributes for each token. That's it!
Harald Math, a lightweight math library.
Utility library for calculating cosine similarity thresholds
A simple package for cosine similarity calculation with both module support.
Compute the cosine similarity of two vectors. Fully typed, 0 dependencies.
Semantically create chunks from large texts. Useful for workflows involving large language models (LLMs).
ES Vector Math is a library for working with vectors in JavaScript or TypeScript.
A vector search utility written purely in javascript with no dependencies. Allows for the searching/ranking of a list of javascript objects with 'embedding' field defined.
Applies a windowing function to an array of data, making it ready to be FFT'd.
A very fast implementation of cosine-similarity for comparing two vectors. Up to 6x faster than the compute-cosine-similarity library.
Create an iterator for generating pseudorandom numbers drawn from a raised cosine distribution.
Raised cosine distribution.
Raised cosine distribution cumulative distribution function (CDF).
Raised cosine distribution constructor.
Raised cosine distribution kurtosis.
Natural logarithm of cumulative distribution function (CDF) for a raised cosine distribution.
Raised cosine distribution logarithm of probability density function (PDF).
Raised cosine distribution expected value.
Compute the hyperbolic arccosine of each element retrieved from an input strided array via a callback function.
Create an iterator which computes the versed cosine for each iterated value.