veritaserum v0.2.1 Veritaserum View Source
Sentiment analisis based on AFINN-165, emojis and some enhancements.
Also supports:
- emojis (❤️, 😱...)
- boosters (very, really...)
- negators (don't, not...).
Link to this section Summary
Link to this section Functions
Link to this function
analyze(input) View Source
Link to this function
analyze(input, list) View Source
Returns a sentiment value for the given text
iex> Veritaserum.analyze(["I ❤️ Veritaserum", "Veritaserum is really awesome"])
[3, 5]
iex> Veritaserum.analyze("I love Veritaserum")
3