-
Notifications
You must be signed in to change notification settings - Fork 309
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
Please document the max range of each value #137
Comments
It used to be +/- 5 (score, not the comparative score), however it appears that this is changed as I have gotten 6 or even 7 as a value. |
The range for each token as well as the comparative score is +/- 5 as per the underlying AFINN dataset, but certainly we can make it more clear in the docs. Thanks for filing! @trakout If you are seeing cases where that isn't true can you please file a bug report with details / example strings? "Score" has always simply been the sum of all tokens, so that can have an arbitrary range, but the comparative score should always be stable between +/- 5. |
Here is a thread where I explain in detail: |
Can this be closed or does this issue indicate an update to the README? @trakout were you able to reproduce the bug? |
@pdw207 If you uncomment this line, you can observe sentiment scores greater than 5 or less than -5. If you don't want to go through the setup process, I snagged some example copy from the output. (the following words are from twitter and do not necessarily reflect my personal opinion or sentiment)
|
@thisandagain I can take this on. Sounds like a good first issue to pick up. |
As @thisandagain mentioned:
In the example you provided there are 4 negative tokens: |
I think this issue can be closed. |
I'm also wondering why I always get around .02 to -.02 for comparitve score. Everything I run this on is "barely" positive or "barely" negative. I'm trying to create an indicator to reflect the negativity and positivity of an article but the marker is pretty much always in the middle making it rather useless. |
It is not totally clear regarding the resulting values what the max value could be.
Please add to the documentation.
The text was updated successfully, but these errors were encountered: