sentimiento.tuit: Sentiment analysis for tweets in Spanish using apicultur API.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/sentimiento.tuit.R

Description

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.

Usage

1
sentimiento.tuit(conexion, tuit)

Arguments

conexion

apicultuR connexion string as created by the conexion.apicultur function

tuit

a tweet in spanish; only the first 140 characters of it will be used

Value

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

Author(s)

Carlos J. Gil Bellosta

References

https://store.apicultur.com/apis/info?name=stmtlk&version=1.0.0&provider=stmtlk

See Also

conexion.apicultur

Examples

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)

apicultuR documentation built on May 31, 2017, 2:25 a.m.