Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dantame/sentient

Simple sentiment analysis using the AFINN-111 word list
https://github.com/dantame/sentient

Last synced: 7 days ago
JSON representation

Simple sentiment analysis using the AFINN-111 word list

Awesome Lists containing this project

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
```