Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ner-node

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

ner-node

Node library for spawning NER server and pinging it to get entities out of raw text.

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
increased by700%
Maintainers
1
Weekly downloads
 
Created
Source

NER-Node

Library to connect to Stanford NER local Server, send in the Raw Text and get back Entity JSON
4X performance boost with same syntax in versions 0.0.5 and further. Please do upgrade.
Installation
  1. npm install ner-node
  2. You can now try the test files to see the library working.
Usage

Here is an example of how you can call the library :-


var socketNER = require("ner-node")
socketNER(port, classifierFileName, pathToNER, function (obj) {
	// you can define your own function to parse tagged text
	obj.parser = function (taggedText) {..... return entities}
	// Synchronous function to get the Entities JSON
	var entitiesJSON = obj.getEntities(rawText, requiredEntity)
	// closes the server and client when done
	obj.close()
})

Note:- The npm package doesn't come with StanfordNER folder. You can download the latest from Stanford NER website OR get it from the git hub repository.

Updates

Its 20-Feb-2016. I have pushed an update to make the library run 4x faster than previous versions. so please use version 0.0.5 or lastest for production purposes. There has been no change in the Syntax.

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, please don't mind coming back and Buy Me Coffee OR you can use Gratipay to show your appreciation and gratitude.

Keywords

FAQs

Package last updated on 19 Feb 2016

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