You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/05/29 10:53:58 UTC
[GitHub] [beam] kamilwu edited a comment on pull request #11776: [BEAM-9421] Better documentation of output results from AnnotateText transform
kamilwu edited a comment on pull request #11776:
URL: https://github.com/apache/beam/pull/11776#issuecomment-635908932
@lakshmanok Do you mean the response object returned from the API? If so, tt would look like this:
```
sentences {
text {
content: "My experience so far has been fantastic!"
}
sentiment {
magnitude: 0.8999999761581421
score: 0.8999999761581421
}
}
sentences {
text {
content: "I\'d really recommend this product."
begin_offset: 41
}
sentiment {
magnitude: 0.8999999761581421
score: 0.8999999761581421
}
}
...many lines omitted
document_sentiment {
magnitude: 1.899999976158142
score: 0.8999999761581421
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org