I am running a code which calculates emotions and polarity in a text.
class_emo = classify_emotion(data$text, algorithm="bayes", prior=1.0)
class_pol = classify_polarity(data$text, algorithm="bayes")
But the updated package 'sentimentr' does not provide both these functions. I tried to install the archived version 'sentiment' from a github link, but after successful installation, the functions still do not work.
How do I resolve this issue? Or which package provides these functions in 3.4.4 version?