You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't specify the encodingType at all on AnalyzeSentiment method of LanguageServiceClient #2076
api: languageIssues related to the Cloud Natural Language API API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
The issue in question was filed in googleapis/googleapis repo since it's a config bug. But creating a new issue here for better visibility since Java is probably the most affected by this bug.
It turns out that encoding_type affects offsets in the output, but AnalyzeSentiment currently doesn't populate any offsets in the response. So while this is obviously a gap, it doesn't mean that any functionality is actually impeded. Consequently, downgrading to P2+.
We can keep discussing the automated logic necessary to populate encodingType in googleapis/googleapis#348 .
api: languageIssues related to the Cloud Natural Language API API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Activity
saturnism commentedon Aug 7, 2017
encountered this issue myself
garrettjonesgoogle commentedon Aug 8, 2017
It turns out that
encoding_typeaffects offsets in the output, but AnalyzeSentiment currently doesn't populate any offsets in the response. So while this is obviously a gap, it doesn't mean that any functionality is actually impeded. Consequently, downgrading to P2+.We can keep discussing the automated logic necessary to populate
encodingTypein googleapis/googleapis#348 .yihanzhen commentedon Jan 11, 2018
This has been added to our feature backlog: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog . This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
deps: update dependency org.testcontainers:testcontainers-bom to v1.2…
deps: update dependency com.google.cloud:sdk-platform-java-config to …
deps: update dependency com.google.cloud:google-cloud-shared-dependen…
chore(main): release 2.32.0 (googleapis#2073)