veritaserum v0.2.0 Veritaserum

Sentiment analisis based on AFINN-165, emojis and some enhancements.

Also supports:

  • emojis (❤️, 😱…)
  • boosters (very, really…)
  • negators (don’t, not…).

Summary

Functions

Returns a sentiment value for the given text

Functions

analyze(input)
analyze(List.t) :: Integer.t
analyze(String.t) :: Integer.t
analyze(input, list)

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