Changelog
Version 2.3.2 November 30, 2024
Changelog
Version 2.3.1 Nov 24, 2024
Changelog
Version 2.3.0 May 19, 2024
Changelog
Version 2.2.2 May 08, 2024
.contextualVectors()
now throws error if (a) word vectors are not loaded and (b) with lemma: true
, "pos" is missing in the NLP pipe. 🤓Changelog
Version 2.2.1 May 06, 2024
Changelog
Version 2.2.0 April 03, 2024
Changelog
Version 2.1.0 March 24, 2024
similarity.vector.cosine( vectorA, vectorB )
to compute similarity between two vectors on a scale of 0 to 1. 🤓Changelog
Version 2.0.0 March 24, 2024
.vectorOf( token )
API.as.vector
helper: use .out( its.lemma, as.vector )
on tokens of a sentence or document. You can also use its.value
or its.normal
. Tokens can be pre-processed to remove stop words etc using the .filter()
API. Note, the as.vector
helper uses averaging technique..contextualVectors()
method on a document. Useful for pure browser-side applications! Generate custom vectors contextually relevant to your corpus and use them in place of larger pre-trained wink embeddings.Changelog
Version 1.14.3 July 21, 2023
Changelog
Version 1.14.2 July 1, 2023
markup()
are optional now in TS code — squashed a typescript declaration bug. 🙌