<jupyter_start><jupyter_text>Exploring other sentiment analysis models Afinn<jupyter_code>#https://github.com/fnielsen/afinn
from afinn import Afinn
afinn = Afinn(emoticons=True)
afinn.score('I saw that yesterday :)')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11336032388663968, 'fraction_numerical': 0.0, 'mean_word_length': 9.333333333333334, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '514808', 'license': 'MIT', 'n_tokens_mistral': 90, 'n_tokens_neox': 87, 'n_words': 17, 'path': 'DataAnalysis/Notebooks/.ipynb_checkpoints/Sentiment analysis-checkpoint.ipynb', 'repo_name': 'AdamSwenson/TwitterProject', 'size': '247'}