corenlp-client
Version:
Simple corenlp client to the corenlp http server using request-promise
27 lines (15 loc) • 572 B
Markdown
[](http://badge.fury.io/js/corenlp-client)
Simple corenlp client to the corenlp http server using request-promise
`npm install corenlp-client`
```js
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)));
```
* works