Description Usage Arguments Value Examples
Sentiment analysis using the python pattern package. See http://www.clips.ua.ac.be/pattern. Only dutch/french/english
1 | pattern_sentiment(x, language, id = x, digest = FALSE)
|
x |
a character string |
language |
a character string with possible values 'dutch', 'french' or 'english' |
id |
an identifier - to use later on to link |
digest |
logical indicating to digest::digest the message |
a data.frame with elements polarity, subjectivity and id, indicating the sentiment, subjectivity score and the id
1 2 3 4 5 | pattern_sentiment("i really really hate iphones", language = "english")
pattern_sentiment("We waren bijna bij de kooien toen er van boven
een hoeragejuich losbrak alsof Rudi Vuller door Koeman
in z'n kloten was geschopt.", language = "dutch")
pattern_sentiment("j'aime Paris, c'est super", language = "french")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.