node-sentiwordnet

0.0.4 • Public • Published

Description

SentiWordNet search module

Install


npm install node-sentiwordnet

Usage

If running for the first time then please wait for around 1 minute while the parser reads the dict file and enters the entries to

var SentiWN = require("node-sentiwordnet");
Senti = new SentiWN;


Senti.setDB(2);
Senti.redisSetEntries(function(callback){
    
});

After the redis entries are done, All is good to go

var SentiWN = require("node-sentiwordnet");
Senti = new SentiWN;

Senti.get("basipetal#1", function(callback){
	console.log(callback.POS);
	console.log(callback.ID);
	console.log(callback.NegScore);
	console.log(callback.Gloss);
    });

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    4
  • 0.0.3
    1
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i node-sentiwordnet

Weekly Downloads

5

Version

0.0.4

License

BSD

Last publish

Collaborators

  • kevincobain2000