Skip to content

Added intensifier adjectives.#2

Merged
thinkroth merged 1 commit intothinkroth:masterfrom
Martikos:master
Jan 6, 2013
Merged

Added intensifier adjectives.#2
thinkroth merged 1 commit intothinkroth:masterfrom
Martikos:master

Conversation

@Martikos
Copy link
Copy Markdown
Contributor

@Martikos Martikos commented Jan 6, 2013

Word list now has positive words, negative words and intensifier adjective words. The adjectives contribute with multiplicative factors to the sentimental value of the statements.
ex: "I am happy" returns score 3, "I am so happy" returns score 6, "I am ecstatically happy" returns score 9. The same adjectives have the same multiplicative factors for negative words, and thus increase the negativity value of the sentence.

Cheers! :)

@thinkroth
Copy link
Copy Markdown
Owner

I'm cool with this PR. Squash it down to one commit and I'll merge it. Thanks!

@thinkroth
Copy link
Copy Markdown
Owner

Can you add a couple tests for this? It looks good, but I'd like to keep the test coverage solid. Thanks.

added intensifiers functionality, adjective multiply the effect of positive or negative words

updated readme with adjectives examples

modified intlist

added tests for negative adjectives

added callback to functions in test

fixed assertion

fixed tests

fixed tests

added neg tests

fixed tests

fixed tests

added positive tests

fixed positive tests

modified intlist
@Martikos
Copy link
Copy Markdown
Contributor Author

Martikos commented Jan 6, 2013

Done, with test cases. Thanks!

thinkroth added a commit that referenced this pull request Jan 6, 2013
Added intensifier adjectives.
@thinkroth thinkroth merged commit 9234bf6 into thinkroth:master Jan 6, 2013
@thinkroth
Copy link
Copy Markdown
Owner

Awesome. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants