Description Usage Arguments Value Author(s) References See Also Examples
View source: R/sentimiento.tuit.R
This function provides "sentiment" for tweets in Spanish using apicultur's stmtlk API (see references below). It tries to guess the sentiment in a given tweet in Spanish.
1 | sentimiento.tuit(conexion, tuit)
|
conexion |
apicultuR connexion string as created by the |
tuit |
a tweet in spanish; only the first 140 characters of it will be used |
It returns a list with the following entries:
intensidad |
the intensity of the sentiment |
certidumbre |
the certainty in the sentiment estimation |
ponderacion |
the sentiment: POSITIVA/NEGATIVA for positive/negative |
texto |
the tweet |
Carlos J. Gil Bellosta
https://store.apicultur.com/apis/info?name=stmtlk&version=1.0.0&provider=stmtlk
1 2 3 4 5 6 7 8 | ## Not run:
apicultur <- conexion.apicultur("8FRk...oa")
sentimiento.tuit(apicultur, "alfredo es un cocinero estupendo")
sentimiento.tuit(apicultur, "es la peor novela que existe")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.