Skip to content

rom1504/node-corenlp-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corenlp-client

NPM version

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

Installation

npm install corenlp-client

Example

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

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

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

History

1.0.0

  • works

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published