index.js
function Sentiment(args) {
  this.path = args.path || "";
  this.language = args.language;
  this.confidence = args.confidence || null;
  this.synset = args.synset;
  this.synsets = {};
  this.labeler = {};
  this.negations = def(args.negations, ["no", "not", "n't", "never"]);
  this.modifiers = def(args.modifiers, ["RB"]);
  this.modifier = def(args.modifier, function (w) { return _str.endsWith(w, "ly"); });
  this.tokenizer = def(args.tokenizer, find_tokens);
}
function Sentiment(args) {
  this.path = args.path || "";
  this.language = args.language;
  this.confidence = args.confidence || null;
  this.synset = args.synset;
  this.synsets = {};
  this.labeler = {};
  this.negations = def(args.negations, ["no", "not", "n't", "never"]);
  this.modifiers = def(args.modifiers, ["RB"]);
  this.modifier = def(args.modifier, function (w) { return _str.endsWith(w, "ly"); });
  this.tokenizer = def(args.tokenizer, find_tokens);
}
function Sentiment ( args ) { this . path = args . path || "" ; this . language = args . language ; this . confidence = args . confidence || null ; this . synset = args . synset ; this . synsets = { } ; this . labeler = { } ; this . negations = def ( args . negations , [ "no" , "not" , "n't" , "never" ] ) ; this . modifiers = def ( args . modifiers , [ "RB" ] ) ; this . modifier = def ( args . modifier , function ( w ) { return _str . endsWith ( w , "ly" ) ; } ) ; this . tokenizer = def ( args . tokenizer , find_tokens ) ; }
sarcasm mark (!) /*
Sentiment Constructor
To be instantiated for a certain language
sarcasm mark ( ! ) / * Sentiment Constructor To be instantiated for a certain language