@nlpjs/lang-en-min
Advanced tools
Comparing version 4.1.4 to 4.3.0
{ | ||
"name": "@nlpjs/lang-en-min", | ||
"version": "4.1.4", | ||
"version": "4.3.0", | ||
"description": "Core", | ||
@@ -28,5 +28,5 @@ "author": { | ||
"dependencies": { | ||
"@nlpjs/core": "^4.1.4" | ||
"@nlpjs/core": "^4.3.0" | ||
}, | ||
"gitHead": "99500ae2f3e16666fa5cc08a486664ef5267e810" | ||
"gitHead": "68b063504d4cc94d11de373516114befc7c4e648" | ||
} |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -0,0 +0,0 @@ /* |
@@ -52,3 +52,3 @@ /* | ||
const result = []; | ||
arr.forEach(item => { | ||
arr.forEach((item) => { | ||
const lowitem = item.toLowerCase(); | ||
@@ -66,3 +66,3 @@ if (contractionsBase[lowitem]) { | ||
const replaced = this.replace(text); | ||
const arr = replaced.split(/[\s,.!?;:([\]'"¡¿)/]+/).filter(x => x); | ||
const arr = replaced.split(/[\s,.!?;:([\]'"¡¿)/]+/).filter((x) => x); | ||
return this.replaceContractions(arr, text); | ||
@@ -69,0 +69,0 @@ } |
@@ -0,0 +0,0 @@ /* |
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
51315
Updated@nlpjs/core@^4.3.0