NER-Node
Library to connect to Stanford NER local Server, send in the Raw Text and get back Entity JSON
Installation
-
Download the
NER-Node
package
- Unzip it and cd to the extracted folder using Command line Terminal
- Use "npm install"
- You can now try the test files to see the library working.
Usage
Here is an example of how you can call the library :-
```javascript
var socketNER = require("SocketNER")
socketNER(port, classifierFileName, pathToNER, function (obj) {
// you can define your own function to parse tagged text
obj.parser = function (taggedText) {..... return entities}
// A Sync function to get the Entities JSON
obj.getEntities(rawText, requiredEntity)
// closes the server and socket when done
obj.close()
})
```
Issues & Suggestions
If you find an issues using the Library OR if you have any suggestions to make it perform better, then you can write to us in the Issues Section.
Donate
If this repository helps you anyhow and you can want to contribute, then you can
Buy Me Coffee