multi-sentiment
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -82,3 +82,7 @@ var sentiment = require('sentiment'); | ||
valence:parsed.valence | ||
} | ||
}, | ||
bias:{ | ||
subjectivity: parsed.subjectivity, | ||
objectivity: parsed.subjectivity | ||
} | ||
} | ||
@@ -85,0 +89,0 @@ |
{ | ||
"name": "multi-sentiment", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Merge multiple sentiment libraries for better sentiment analysis", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12
test.js
@@ -6,8 +6,8 @@ | ||
"wtf are you doing over there Jill said, I hate Bill.", | ||
'Mary hoped her presentation would go well.', | ||
'Sentiment expressions are a type of subjective expression. Specifically, they are expressions of positive and negative emotions, judgments, evaluations, and stances. In the examples above, "hate" is a negative sentiment expression and "hope" is a positive sentiment expression.', | ||
'I failed my exams and now I dont know what to do', | ||
'Is there any sane Kenyan who would knowingly or Unknowingly vote for Kalonzo Musyoka or Moses Wetangula as President??', | ||
'Yes and there is no offence in that', | ||
'fuck that bitch' | ||
// 'Mary hoped her presentation would go well.', | ||
// 'Sentiment expressions are a type of subjective expression. Specifically, they are expressions of positive and negative emotions, judgments, evaluations, and stances. In the examples above, "hate" is a negative sentiment expression and "hope" is a positive sentiment expression.', | ||
// 'I failed my exams and now I dont know what to do', | ||
// 'Is there any sane Kenyan who would knowingly or Unknowingly vote for Kalonzo Musyoka or Moses Wetangula as President??', | ||
// 'Yes and there is no offence in that', | ||
// 'fuck that bitch' | ||
] | ||
@@ -14,0 +14,0 @@ |
4664
98