Skip to content

Latest commit

 

History

History
250 lines (163 loc) · 10.9 KB

CHANGELOG.md

File metadata and controls

250 lines (163 loc) · 10.9 KB

Version 2.2.0 April 03, 2024

✨ Features

  • Detokenization restores both regular and non-breaking spaces to their original positions. 🤓

Version 2.1.0 March 24, 2024

✨ Features

  • You can now use similarity.vector.cosine( vectorA, vectorB ) to compute similarity between two vectors on a scale of 0 to 1. 🤓

Version 2.0.0 March 24, 2024

✨ Features

  • Seamless word embedding integration enhances winkNLP's semantic capabilities. 🎉 👏 🙌
  • Pre-trained 100-dimensional word embeddings for over 350,000 English words released: wink-embeddings-sg-100d. 💯
  • API remains unchanged — no code updates needed for existing projects. The new APIs include: 🤩
    • Obtain vector for a token: Use the .vectorOf( token ) API.
    • 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.
    • 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.
  • Comprehensive documentation along with interesting examples is coming up shortly. Stay tuned for updates! 😎

Version 1.14.3 July 21, 2023

✨ Features

  • Added a live example for how to run winkNLP on Deno. 👍

Version 1.14.2 July 1, 2023

🐛 Fixes

Version 1.14.1 June 11, 2023

🐛 Fixes

Version 1.14.0 May 20, 2023

✨ Features

  • You can now use its.sentenceWiseImprotance helper to obtain sentence wise importance (on a scale of 0 to 1) of a document, if it is supported by language model. 📚📊🤓
  • Checkout live example How to visualize key sentences in a document? 👀

Version 1.13.1 March 27, 2023

⚙️ Updates

  • Some behind the scene model improvements. 😎 🤓
  • Add clarity on typescript configuration in README. ✅

Version 1.13.0 December 09, 2022

✨ Features

  • Mark allows marking w.r.t. the last element of the pattern. For example if a pattern matches a fluffy cat then mark: [-2, -1] will extract fluffy cat — especially useful when the match length is unknown. 💃
  • Improved error handling while processing mark's arguments. 🙌

Version 1.12.3 November 18, 2022

⚙️ Updates

  • README is now more informative and links to examples and benchmarks 👍
  • Benchmarked on latest machine, browser versions 🖥

Version 1.12.2 October 13, 2022

🐛 Fixes

  • Fixed incorrect install command in README ✅

Version 1.12.1 October 13, 2022

⚙️ Updates

  • Ready for future — we have tested winkNLP on Node.js version 18 including its models. 🙌 🎉

Version 1.12.0 May 13, 2022

✨ Features

Version 1.11.0 January 30, 2022

✨ Features

  • Obtain bag-of-words for a tokenized text from BM25Vectorizer using .bowOf() api — useful for bow based similarity computation. 👍
  • learnCustomEntities() displays a console warning, if a complex short hand pattern is likely to cause learning/execution slow down.🤞❗️

Version 1.10.0 November 18, 2021

✨ Features

  • Easily load BM25Vectorizer's model using newly introduced .loadModel() api. 🎉

Version 1.9.0 November 06, 2021

✨ Features

  • We have enhanced typescript support to allow easy addition of new typescript enabled language models. 👏

⚙️ Updates

  • Added naive wikification showcase in README. 😎

Version 1.8.1 September 22, 2021

⚙️ Updates

  • Included NLP Pipe details in the README file. 🤓

Version 1.8.0 July 31, 2021

✨ Features

  • We have added support for Typescript. 🙌🎉

Version 1.7.2 July 15, 2021

⚙️ Updates

  • Some behind the scene updates & fixes. 😎🤓

Version 1.7.1 July 09, 2021

⚙️ Updates

  • Improved documentation. 📚🤓

Version 1.7.0 July 01, 2021

✨ Features

  • Now supported similarity methods are cosine for bag of words, tversky & Otsuka-Ochiai (oo) for set. 🙌
  • Obtain JS set via as.set helper. 😇

Version 1.6.0 June 27, 2021

✨ Features

  • No need to run the entire annotation pipeline, now you can select whatever you want or just even run tokenization by specifying an empty pipe. 🤩🎉

Version 1.5.0 June 22, 2021

⚙️ Updates

  • Exposed its and as helpers via the instance of winkNLP as well. 🤓

Version 1.4.0 June 15, 2021

✨ Features

  • Cosine similarity is available on Bag of Words. 🛍🔡🎉
  • You can now use its.readabilityStats helper to obtain document's readability statistics, if it is supported by language model. 📚📊🤓

Version 1.3.0 May 22, 2021

✨ Features

  • Now use its.lemma helper to obtain lemma of words. 👏 🎉

Version 1.2.0 December 24, 2020

✨ Features

  • We have added support for browser ready language model. 🤩 🎉
  • Now easily vectorize text using bm25-based vectroizer. 🤓 👏

⚙️ Updates

  • Examples in README now runs on RunKit using web model! ✅

Version 1.1.0 September 18, 2020

✨ Features

  • We have enabled add-ons to support enhanced language models, paving way for new its helpers. 🎉
  • Now use its.stem helper to obtain stems of the words using Porter Stemmer Algorithm V2. 👏

Version 1.0.1 August 24, 2020

⚙️ Updates

  • Benchmarked on Node.js v12 & v14 also and updated the speed to minimum observed. 🏃‍♀️

Version 1.0.0 August 21, 2020

⚙️ Updates

  • Happy to release version 1.0.0 for you! 💫👏
  • You can optionally include custom entity detection while running speed benchmark. 😇

Version 0.4.0 August 9, 2020

⚙️ Updates

  • Getting ready to move to version 1.0.0 — almost there! 💫

Version 0.3.1 August 3, 2020

⚙️ Updates

  • Some behind the scene updates to test cases. 😎
  • Updated the version of English light language model to the latest — 0.3.0. 🙌

Version 0.3.0 July 29, 2020

✨ Features

  • No need to remember or copy/paste long Github url for language model installation. The new script installs the latest version for you automatically. 🎉

Version 0.2.0 July 21, 2020

✨ Features

  • We have added .parentCustomEntity() API to .tokens() API. 👏

🐛 Fixes

  • Accessing custom entities was failing whenever there were no custom entities. Now things are as they should be — it tells you that there are none! ✅

Version 0.1.0 June 24, 2020

✨ Features

  • We have improved interface with the language model — now supports the new format. 👍