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

@nlpjs/lang-en-min

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nlpjs/lang-en-min - npm Package Compare versions

Comparing version 4.21.1 to 4.22.0

6

package.json
{
"name": "@nlpjs/lang-en-min",
"version": "4.21.1",
"version": "4.22.0",
"description": "Core",

@@ -28,5 +28,5 @@ "author": {

"dependencies": {
"@nlpjs/core": "^4.21.1"
"@nlpjs/core": "^4.22.0"
},
"gitHead": "2efbb63222a8d8bcd4f70d41437b0fd8ebf7dcb5"
"gitHead": "725dcf52c1b521e4575edb51917690ce051b9434"
}

@@ -25,2 +25,3 @@ /*

const { Among, BaseStemmer } = require('@nlpjs/core');
const TokenizerEn = require('./tokenizer-en');

@@ -41,2 +42,14 @@ /**

getTokenizer() {
if (!this.tokenizer) {
this.tokenizer =
this.container.get(`tokenizer-${this.name.slice(-2)}`) ||
new TokenizerEn();
if (this.tokenizer.constructor.name === 'Tokenizer') {
this.tokenizer = new TokenizerEn();
}
}
return this.tokenizer;
}
r_prelude() {

@@ -43,0 +56,0 @@ let v_1;

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