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

language: remove sentiment and salience range conversions #1836

Merged
merged 1 commit into from
Nov 29, 2016
Merged

language: remove sentiment and salience range conversions #1836

merged 1 commit into from
Nov 29, 2016

Conversation

sawyerh
Copy link
Contributor

@sawyerh sawyerh commented Nov 29, 2016

Closes #1834.

While I was in there I noticed that the salience range was also being changed from 0.0-1.0 to 0-100, so I changed that as well to be consistent with the API documentation.

🚨 This will break anyones' implementation that used salience or sentiment. For example, previously a sentiment of 1 would be interpreted as "Negative", however now a score of 1 is "Positive". Sorry. In the long run this should prevent confusion and accidental bugs, so IMO it's worth the pain while this is still under the "beta" status.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 29, 2016
@stephenplusplus stephenplusplus added the api: language Issues related to the Cloud Natural Language API API. label Nov 29, 2016
@stephenplusplus stephenplusplus merged commit 50082da into googleapis:master Nov 29, 2016
@stephenplusplus
Copy link
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: language Issues related to the Cloud Natural Language API API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants