Is it possible to highlight a variable depending on its value?
e.g. automatically highlight this variable green:
variable = "acceptable"
but if it changes to:
variable = "unacceptable"
the highlight would change to red.
I think you need some sort of service to determine the sentiment from the data a variable contains.
For instance, I can easily call :
https://azure.microsoft.com/en-in/services/cognitive-services/text-analytics/
to determine the difference between "acceptable" and "unacceptable". In the link you can actually call the service with both the words and see that in first case, the result returns 98% sentiment while for the other one it returns 2%. You can use this value even generate a smooth range of rgb colors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With