New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nlpjs/ner

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nlpjs/ner - npm Package Compare versions

Comparing version 4.4.0 to 4.6.0

8

package.json
{
"name": "@nlpjs/ner",
"version": "4.4.0",
"version": "4.6.0",
"description": "Named Entity Recognition",

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

"dependencies": {
"@nlpjs/core": "^4.4.0",
"@nlpjs/language-min": "^4.3.0",
"@nlpjs/core": "^4.6.0",
"@nlpjs/language-min": "^4.6.0",
"@nlpjs/similarity": "^4.0.0-rc.4"
},
"gitHead": "125bc11837a354967b250dd4a8773412d089b34d"
"gitHead": "b6da53ad63335e0e1e37f2070049be062432f715"
}

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -25,4 +25,14 @@ /*

function runDiscard(srcEdge, srcOther, useMaxLength) {
const edge = srcEdge;
const other = srcOther;
let edge;
let other;
if (
srcEdge.accuracy > srcOther.accuracy ||
(srcEdge.accuracy === srcOther.accuracy && srcEdge.length > srcOther.length)
) {
edge = srcEdge;
other = srcOther;
} else {
edge = srcOther;
other = srcEdge;
}
if (other.start <= edge.end && other.end >= edge.start) {

@@ -29,0 +39,0 @@ if (other.accuracy < edge.accuracy) {

@@ -0,0 +0,0 @@ /*

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