Returns a list of English words rated for valence. An earlier version of AFINN-111.
require
. We assume that invocations are infrequent, and we want to avoid the require
cache. This means that we allow data to be garbage collected and a user is responsible for explicitly caching data.word ratings
var list = afinn96();
// returns [ ['abandon',-2], ['abandons',-2], ['abandoned',-2], ... ]
Two-element array holding a word and its associated valence rating.