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

corenlp-client-multilang

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corenlp-client-multilang

Simple corenlp client to the corenlp http server using request-promise

  • 1.0.2
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Corenlp-client

NPM version

Simple corenlp client to the corenlp http server using request-promise

Installation

npm install corenlp-client

Example

ES6

const StanfordCoreNLPClient=require('corenlp-client');

const client=new StanfordCoreNLPClient("http://localhost:9000","tokenize,ssplit,pos,parse,sentiment","en");

client.annotate("the quick brown fox jumped over the lazy dog")
  .then(result => console.log(JSON.stringify(result,null,2)));

ES5

var StanfordCoreNLPClient = require('corenlp-client-multilang');

var client = new StanfordCoreNLPClient("http://localhost:9000", "tokenize,ssplit,pos,parse,sentiment","fr");

client.annotate("suce ma grosse teub").then(function (result) {
  return console.log(JSON.stringify(result, null, 2));
});

History

1.0.1

  • Added language support

1.0.0

  • works

Keywords

FAQs

Package last updated on 30 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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