Closed sloria closed 6 years ago
The bot checks the first span score returned by the Perspective API here:
https://github.com/behaviorbot/sentiment-bot/blob/e3f6c7be50ebd95ff446fcee475bd23a75388a55/index.js#L34
Why only use the first span score? Wouldn't it be more accurate to use the summary score?
See the Perspective API docs.
Thanks for opening this issue, a maintainer will get back to you shortly!
Good point! I must've misunderstood when first reading the docs. Feel free to either open a PR or I'll make this change shortly.
The bot checks the first span score returned by the Perspective API here:
https://github.com/behaviorbot/sentiment-bot/blob/e3f6c7be50ebd95ff446fcee475bd23a75388a55/index.js#L34
Why only use the first span score? Wouldn't it be more accurate to use the summary score?
See the Perspective API docs.