Skip to content

Commit

Permalink
Merge cd4be6b into 07657a2
Browse files Browse the repository at this point in the history
  • Loading branch information
moamenibrahim committed Sep 1, 2019
2 parents 07657a2 + cd4be6b commit 35e526f
Show file tree
Hide file tree
Showing 4 changed files with 3,778 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 35e526f

Please sign in to comment.