Skip to content

Commit 9425728

Browse files
docs(CHANGELOG): add details of word vectors
Co-authored-by: Rachna <[email protected]>
1 parent 5e95fcf commit 9425728

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# [Word embeddings have arrived!](https://github.com/winkjs/wink-nlp/releases/tag/2.0.0)
2+
## Version 2.0.0 March 24, 2024
3+
4+
### ✨ Features
5+
- Seamless word embedding integration enhances winkNLP's semantic capabilities. 🎉 👏 🙌
6+
- Pre-trained 100-dimensional word embeddings for over 350,000 English words released: [wink-embeddings-sg-100d](https://github.com/winkjs/wink-embeddings-sg-100d). 💯
7+
- API remains unchanged — no code updates needed for existing projects. The new APIs include: 🤩
8+
- **Obtain vector for a token:** Use the `.vectorOf( token )` API.
9+
- **Compute sentence/document embeddings:** Employ the `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.
10+
- **Generate contextual vectors:** Leverage the `.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.
11+
- Comprehensive documentation along with interesting examples is coming up shortly. Stay tuned for updates! 😎
12+
13+
114
# [Added Deno example](https://github.com/winkjs/wink-nlp/releases/tag/1.14.3)
215
## Version 1.14.3 July 21, 2023
316

0 commit comments

Comments
 (0)