Skip to content
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

Returns wrong sentiment for PHP 7 #30

Open
sameerpanjwani opened this issue Nov 28, 2016 · 1 comment
Open

Returns wrong sentiment for PHP 7 #30

sameerpanjwani opened this issue Nov 28, 2016 · 1 comment

Comments

@sameerpanjwani
Copy link

This package used to work up well till we had PHP 5.6 but after we upgraded to PHP 7, phrases that were "neutral" are being returned as "positive". Not sure why?

All possible neutral phrases like:
"sample test line"
"maths in science"
"men and women in a line"

Any ideas

exussum12 added a commit to exussum12/phpInsight that referenced this issue Dec 26, 2017
The issue is that the rounding to 3 dp ignores the 4 placed many decimal
points down.

This puts the 4 within the 3dp, and allows neutral to be chosen again
JWHennessey added a commit that referenced this issue Jan 3, 2018
@zubeeia
Copy link

zubeeia commented Mar 30, 2019

I need to pick the data from database and then analyze the data that whether data is positive or negative.but it is giving me neutral at every word.What should i do to fix it?

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

No branches or pull requests

2 participants