# NOT RUN {
# simple example
detect_sentiment("I have never been happier. This is the best day ever.")
txt <-c("I have never been happier. This is the best day ever.",
"I have always been happier. This is the worst day ever.")
detect_sentiment(txt)
# }
Run the code above in your browser using DataLab