veritaserum alternatives and similar packages
Based on the "Text and Numbers" category.
Alternatively, view veritaserum alternatives based on common mentions on social networks and blogs.
-
money
Elixir library for working with Money safer, easier, and fun... Is an interpretation of the Fowler's Money pattern in fun.prog. -
nanoid
Elixir port of NanoID, a secure and URL-friendly unique ID generator. https://hex.pm/packages/nanoid -
secure_random
Convenience library for random base64 strings modeled after my love for Ruby's SecureRandom -
chinese_translation
An elixir module to translate simplified Chinese to traditional Chinese, and vice versa, based on wikipedia data -
inet_cidr
CIDR library for Elixir that is compatible with Erlang's :inet and supports both IPv4 and IPv6 -
Ex_Cldr_Units
Unit formatting (volume, area, length, ...) functions for the Common Locale Data Repository (CLDR) -
minigen
Pure random data generation library, appropriate for realistic simulations in the Erlang ecosystem
InfluxDB high-performance time series database

Do you think we are missing an alternative of veritaserum or a related project?
README
Veritaserum
Simple sentiment analysis for Elixir based on the AFINN-165 list and some extra enhancements.
It also supports:
- emojis (❤️, 😱...)
- boosters (very, really...)
- negators (don't, not...).
Index
Installation
Add veritaserum
to your list of dependencies in mix.exs
:
def deps do
[{:veritaserum, "~> 0.2.2"}]
end
Usage
To analyze a text
Veritaserum.analyze("I love Veritaserum!") #=> 3
# It also supports emojis
Veritaserum.analyze("I ❤️ Veritaserum!") #=> 2
# It also supports negators
Veritaserum.analyze("I like Veritaserum!") #=> 2
Veritaserum.analyze("I don't like Veritaserum!") #=> -2
#and boosters
Veritaserum.analyze("Veritaserum is cool!") #=> 1
Veritaserum.analyze("Veritaserum is very cool!") #=> 2
You can also pass a list
Veritaserum.analyze(["I love Veritaserum!", "I hate some things!"]) #=> [3, -3]
Documentation can be found on HexDocs.
Running locally
Clone the repository
git clone [email protected]:uesteibar/veritaserum.git
Install dependencies
cd veritaserum
mix deps.get
To run the tests
mix test
To run the lint
mix credo
Contributing
Pull requests are always welcome =)
The project uses standard-changelog to update the Changelog with each commit message and upgrade the package version.
For that reason every contribution should have a title and body that follows the conventional commits standard conventions (e.g. feat(analyzer): Make it smarter than Jarvis
).
To make this process easier, you can do the following:
Install commitizen
and cz-conventional-changelog
globally
npm i -g commitizen cz-conventional-changelog
Save cz-conventional-changelog
as default
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
Instead of git commit
, you can now run
git cz
and follow the instructions to generate the commit message.