moodΒΆ

Sentiment analysis for stock market data.

>>> from mood import headlines_mood
>>> headlines_mood()
{"Yaccarino shakes up X amid Musk's pressure on costs, FT says": -3,
 'Coup-hit Niger was betting on a China-backed oil pipeline as a lifeline. Then the troubles began': -7,
 'A Mexico City neighborhood keeps the iconic Volkswagen Beetle alive': 1,
 ...
 "Here's the Average Social Security Benefit at Age 62 -- and Why It's Not the Best News for Retirees": -5,
 'Analyst Report: Mitsubishi UFJ Financial Group, Inc.': 0,
 'Forget NextEra Energy. Buy This Magnificent Dividend King Instead': 6}

Modules

dataset_makers

Tools to make datasets for training and testing models (for semantic attribute etc.)

learn_sentiments

Learning sentiments from data.

model_analysis

Tools for model analysis

mood_modeling

Mood Modeling Module

scripts

Scripts for mood.

sentiment

Sentiment analysis tools

tools

Tools for sentiment analysis

util

Utils for mood