Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wink-nlp

Package Overview
Dependencies
Maintainers
0
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wink-nlp - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# [Fixed some type definitions](https://github.com/winkjs/wink-nlp/releases/tag/2.3.1)
## Version 2.3.1 Nov 24, 2024
### 🐛 Fixes
- Updated some BM25Vectorizer methods types according to implementation — thanks to @pavloDeshko ✅
# [Enabled more special space characters handling](https://github.com/winkjs/wink-nlp/releases/tag/2.3.0)

@@ -2,0 +8,0 @@ ## Version 2.3.0 May 19, 2024

2

package.json
{
"name": "wink-nlp",
"version": "2.3.0",
"version": "2.3.1",
"description": "Developer friendly Natural Language Processing ✨",

@@ -5,0 +5,0 @@ "keywords": [

@@ -351,7 +351,7 @@ // Minimum TypeScript Version: 4.0

export interface BM25Vectorizer {
learn(tokens: Tokens): void;
learn(tokens: string[]): void;
out<T>(f: ItsFunction<T>): T;
doc(n: number): Document;
vectorOf(tokens: Tokens): number[];
bowOf(tokens: Tokens): Bow;
vectorOf(tokens: string[]): number[];
bowOf(tokens: string[]): Bow;
config(): BM25VectorizerConfig;

@@ -358,0 +358,0 @@ loadModel(json: string): void;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc