Skip to content

Commit

Permalink
chore(*): add keywords to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayaksaxena committed Nov 3, 2017
1 parent b9e93a3 commit 4074771
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -4,10 +4,13 @@
"description": "Accurate and fast sentiment scoring of phrases with emoticons :) & emojis 馃帀",
"keywords": [
"AFINN",
"Emojis",
"Emoticons",
"Natural Language Processing",
"NLP",
"Sentiment",
"Sentiment Analysis",
"Emoticons",
"Emojis",
"Sentiment Classification",
"wink"
],
"main": "src/wink-sentiment.js",
Expand Down
4 changes: 2 additions & 2 deletions test/wink-sentiment-specs.js
Expand Up @@ -52,8 +52,8 @@ describe( 'basic test cycle', function () {
expect( ws( 'love you<3 馃槏馃槂' ) ).to.deep.equal( { score: 12, normalizedScore: 2.4 } );
} );

it( 'should return a score of 0/0 with "xxx"', function () {
expect( ws( 'xxx' ) ).to.deep.equal( { score: 0, normalizedScore: 0 } );
it( 'should return a score of 0/0 with "unknownword"', function () {
expect( ws( 'unknownword' ) ).to.deep.equal( { score: 0, normalizedScore: 0 } );
} );

it( 'should throw error with non-string input', function () {
Expand Down

0 comments on commit 4074771

Please sign in to comment.