code-kern-ai / bricks

Open-source natural language enrichments at your fingertips.
Apache License 2.0
448 stars 23 forks source link

[MODULE] - Political Sentiment analysis #147

Open divyanshukatiyar opened 1 year ago

divyanshukatiyar commented 1 year ago

Please describe the module you would like to add to bricks Sentiments classification from the political stance of politicians, their tweets, etc.

Do you already have an implementation? If so, please share it here. For instance:

from typing import Dict, any
def my_module(record: Dict[str, Any]) -> str:
    return record["my-text"].text.lower()

Additional context Add any other context or screenshots about the feature request here.

LeonardPuettmann commented 1 year ago

Maybe these are some good datasets to build a small, simple classifier