ner
Client for Stanford NER
Requirements
Starting up Stanford NER
Use ner-server.sh
Install
$ npm install --save ner
Usage
const NER = ; const ner = port:8080 host:'172.17.0.2' ner;
API
new instance
options
port
Type: integer
Port on which NER server is running.
host
Type: string
HOST of the NER server eg. localhost .
ner.get(text, callback)
parms
text
Type: string
Text to be tagged
callback(err, response)
Type: function
Callback function which recieves the response object.
response.entities
Parsed entities from the xml server response.
response.raw
Raw xml response from server
response._parsed
Internal parser representation (regex matches)
License
MIT © Nikhil Srivastava