-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adversative conjunctions cause neutrality when used with a negator #80
Comments
Thanks for trying sentimentr and reporting this issue. Can you please
provide a minimal working example with all the code and strings you've
discussed here? This makes it easier to understand, reproduce, and solve.
Github allows you to make nice code chunks to display this code.
…On Fri, Mar 30, 2018, 7:56 PM Ashley Wysocki ***@***.***> wrote:
I noticed when analyzing a sentence like "But I'm not happy" (sentiment:
0) that it differs from "But I'm not happy" (sentiment: -0.4330127) by
making it a neutral statement. However, in my understanding of adversative
conjunctions, they should amplify the current clause which should make "But
I'm not happy" more negative. I tested some other negator words (didn't,
isn't, etc) and when those are used before the polarized word, adding an
adversative conjunction like "but" always makes the sentiment score become
0. I looked at the underlying code but couldn't figure out what the issue
is so while I can neutralize the adversative weight for now, I was hoping
there could be a fix to this at some point.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#80>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABrnzqpzE6eAT1dLrS4316tAuQQNaJDyks5tjrj3gaJpZM4TCOGB>
.
|
Yes, it's very simple really.
|
I see what you mean. I'll have a look when I get development time for sentimentr unless someone provides a pull request in the eman time:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed when analyzing a sentence like "But I'm not happy" (sentiment: 0) that it differs from "I'm not happy" (sentiment: -0.4330127) by making it a neutral statement. However, in my understanding of adversative conjunctions, they should amplify the current clause which should make "But I'm not happy" more negative. I tested some other negator words (didn't, isn't, etc) and when those are used before the polarized word, adding an adversative conjunction like "but" always makes the sentiment score become 0. I looked at the underlying code but couldn't figure out what the issue is so while I can neutralize the adversative weight for now, I was hoping there could be a fix to this at some point.
The text was updated successfully, but these errors were encountered: