A python package for sentiment analysis written using pytorch framework
Project description
Twitter Sentiment analyzer
Sentiment analysis is the task of determining the sentiment of a given expression in natural language, It is essentially a multiclass text classification text where the given input text is classified into positive, neutral, or negative sentiment. But the number of classes can vary according to the nature of the training dataset. This project aims to build a sentiment analyzer specifically for twitter domain.
Why a Custom model for twitter domain?
Simply put, a Tweet is a message sent on Twitter. Most of the tweets do not follow normal English grammar and vocabulary mainly due to the limitation of the number of characters allowed in a tweet. This requires special care to yield better performance, hence this project.
Install
!pip install twittersentiment
Examples
- Using pretrained model
- You can also train your own mode with custom dataset and your choice of word embedding, see examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file twittersentiment-0.0.3.tar.gz
.
File metadata
- Download URL: twittersentiment-0.0.3.tar.gz
- Upload date:
- Size: 3.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 887bebaa2202ab3988d5334d248d64bd7efd3b3daf052168c00b57203119567c |
|
MD5 | be5a6ac48f83ba021789f671f3494d01 |
|
BLAKE2b-256 | ed6a5c2100084a58aeaa87b04edb323e5c4dd99ece4c51871670b86c84a36834 |
File details
Details for the file twittersentiment-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: twittersentiment-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6baab4bdcb28e79a664d8d9862aa1e857a61e0d3bf1e719a0bfb28fb0bc72432 |
|
MD5 | 12a670875c0c4a2a3ef740693bd2d5d4 |
|
BLAKE2b-256 | 1ed7087d0f8a65c51f6f5423d7cf916dc85dad7dd7bd4fe6e46edb7133b9f89b |