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 2 months ago
JSON representation

Simple sentiment analysis using the AFINN-111 word list

Lists

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