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);
    });

Readme

Keywords

none

Package Sidebar

Install

npm i node-sentiwordnet

Weekly Downloads

0

Version

0.0.4

License

BSD

Last publish

Collaborators

  • kevincobain2000