Calculates the mean arousal of hebrew text. The function can use a small lexicon (22k tokens, default) or a large lexicon (1.4M tokens)
get_arousal(text, long = FALSE)
text | A string |
---|---|
long | A logical indicates which lexicon to use |
The valence of text
Armony-Sivan R, Cojocaru L, Babkoff H (2013). Affective norms for Hebrew words (E-millim): Instruction manual and affecting ratings (Hebrew). Ashkelon Academic College, Ashkelon, Israel. Joulin A, Grave E, Bojanowski P, Douze M, J攼㸹gou H, Mikolov T (2016). “Fasttext. zip: Compressing text classification models.” arXiv preprint arXiv:1612.03651. Silber-Varod V, Latin M, Moyal A (2017). “Frequency of Hebrew phonemes and phoneme clusters in a data-driven approach.” Oryanut Ve-Safa, 6, 22--36.
get_arousal("some Hebrew Text", long=FALSE)#> [1] NaNget_arousal("some Hebrew Text", long=TRUE)#> [1] NaN