Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dantame/sentient
Simple sentiment analysis using the AFINN-111 word list
https://github.com/dantame/sentient
Last synced: about 1 month ago
JSON representation
Simple sentiment analysis using the AFINN-111 word list
- Host: GitHub
- URL: https://github.com/dantame/sentient
- Owner: dantame
- Created: 2015-10-22T18:30:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-28T14:08:58.000Z (over 7 years ago)
- Last Synced: 2024-04-22T13:33:49.621Z (8 months ago)
- Language: Elixir
- Size: 160 KB
- Stars: 33
- Watchers: 0
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - Simple sentiment analysis based on the AFINN-111 wordlist. (Text and Numbers)
- fucking-awesome-elixir - sentient - Simple sentiment analysis based on the AFINN-111 wordlist. (Text and Numbers)
- awesome-elixir - sentient - Simple sentiment analysis based on the AFINN-111 wordlist. (Text and Numbers)
README
# Sentient
Simple sentiment analysis using the [AFINN-111](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6010) wordlist
## Installation
```elixir
# Add it to your deps in your projects mix.exs
defp deps do
[{:sentient, "~> 0.0.2"}]
end
```## Usage
```elixir
# Get a score for a phrase
Sentient.analyze("I really love cats!") # => 3
```