easySenti: easySenti

Description Usage Arguments Value Examples

View source: R/easySenti.R

Description

Calculation of sentiment value of documents

Usage

1
2
easySenti(docs, positive, negative, t = 0, sigmoid = FALSE,
  t.s = 0.3, t.s2 = 0.1)

Arguments

positive

vector. postive words

negative

vector. negative words

t

numeric. threshold to be positive(and -negative). count of positive - count of negative

sigmoid

logic. use or not of sigmoid function

t.s

numeric. minimum threshold to be positive. sigmoid of (positive - negative)

t.s2

numeric. maximum threshold to be negative. sigmoid of (positive - negative)

doc

vector. documents to read

Value

result vector.

Examples

1
cntSenti(docs = docs, positive=positive, negative=negative, t=0, sigmoid=FALSE, t.s=0.3, t.s2=0.1)

SukjaeChoi/easySenti documentation built on May 4, 2019, 6:39 p.m.