Comparing version 2.3.0 to 2.3.1
@@ -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 |
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
653193