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

calais-entity-extractor

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calais-entity-extractor - npm Package Compare versions

Comparing version 1.3.4 to 1.4.0

17

lib/calais-entity-extractor.js

@@ -18,3 +18,4 @@ var request = require('request');

'language' : 'English', // alts: Spanish, French
'minConfidence' : 0.75
'minConfidence' : 0.75,
'parseData' : true
};

@@ -371,3 +372,8 @@

var parsedResult = calais._parseCalaisData(result, calais.options.minConfidence);
var parsedResult;
if (calais.options.parseData) {
parsedResult = calais._parseCalaisData(result, calais.options.minConfidence);
} else {
parsedResult = result;
}

@@ -448,3 +454,8 @@ return cb(parsedResult, calais.errors);

var parsedResult = calais._parseCalaisData(result, calais.options.minConfidence);
var parsedResult;
if (calais.options.parseData) {
parsedResult = calais._parseCalaisData(result, calais.options.minConfidence);
} else {
parsedResult = result;
}

@@ -451,0 +462,0 @@ return cb(parsedResult, calais.errors);

2

package.json
{
"name": "calais-entity-extractor",
"version": "1.3.4",
"version": "1.4.0",
"description": "Extract entities from text using Open Calais.",

@@ -5,0 +5,0 @@ "scripts": {

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