cardiffnlp/tweetnlp
TweetNLP for all the NLP enthusiasts working on Twitter! The Python library tweetnlp provides a collection of useful tools to analyze/understand tweets such as sentiment analysis, emoji prediction, and named entity recognition, powered by state-of-the-art language models specialised on Twitter.
Built on Hugging Face transformers, TweetNLP wraps pre-trained models fine-tuned specifically for social media text and offers both single-label and multi-label classification variants for tasks like topic detection and sentiment analysis. The library provides unified dataset loading compatible with Hugging Face Datasets, enabling seamless model fine-tuning workflows. Beyond the core tasks, it supports multilingual sentiment analysis and structured output with confidence probabilities for each prediction.
382 stars and 827 monthly downloads. No commits in the last 6 months. Available on PyPI.
Stars
382
Forks
36
Language
Python
License
MIT
Category
Last pushed
Apr 02, 2025
Monthly downloads
827
Commits (30d)
0
Dependencies
9
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/cardiffnlp/tweetnlp"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
sharmaroshan/Twitter-Sentiment-Analysis
It is a Natural Language Processing Problem where Sentiment Analysis is done by Classifying the...
the-javapocalypse/Twitter-Sentiment-Analysis
This script can tell you the sentiments of people regarding to any events happening in the world...
riochr17/Analisis-Sentimen-ID
Analisis Sentimen Twitter dengan TFIDF-ANN
kinshukdua/LiveActionMap
An attempt to map the areas with active conflict in Ukraine using twitter data and NLP.
PyPatel/Sentiment-Analysis-for-Trading
Using Natural Language Processing we developed working prototype of Sentiment analyser of NEWS