You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add veritaserum to your list of dependencies in mix.exs:
defdepsdo[{:veritaserum,"~> 0.2.2"}]end
Usage
To analyze a text
Veritaserum.analyze("I love Veritaserum!")#=> 3# It also supports emojisVeritaserum.analyze("I ❤️ Veritaserum!")#=> 2# It also supports negatorsVeritaserum.analyze("I like Veritaserum!")#=> 2Veritaserum.analyze("I don't like Veritaserum!")#=> -2#and boostersVeritaserum.analyze("Veritaserum is cool!")#=> 1Veritaserum.analyze("Veritaserum is very cool!")#=> 2
You can also pass a list
Veritaserum.analyze(["I love Veritaserum!","I hate some things!"])#=> [3, -3]
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