Skip to content

Commit

Permalink
Merge 3422fd2 into e2c8233
Browse files Browse the repository at this point in the history
  • Loading branch information
moamenibrahim committed Dec 16, 2018
2 parents e2c8233 + 3422fd2 commit 678d78f
Show file tree
Hide file tree
Showing 3 changed files with 2,583 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ In Swedish:
>>> afinn.score('det är inte bra')
-2.0

In Finnish:

>>> afinn = Afinn(language='fi')
>>> afinn.score('Siellä on uusi hyvä juttu, katsokaa ja kuunnelkaa ihmeessä.')
3.0

With emoticons:

>>> afinn = Afinn(emoticons=True)
Expand Down
1 change: 1 addition & 0 deletions afinn/afinn.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
'emoticons': 'AFINN-emoticon-8.txt',
'fr': 'AFINN-fr-165.txt',
'sv': 'AFINN-sv-165.txt',
'fi': 'AFINN-fi-165.txt'
}


Expand Down

0 comments on commit 678d78f

Please sign in to comment.