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
Release files for twittersentiment 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| twittersentiment-0.0.3.tar.gz | 3.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| twittersentiment-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 MB
Release files / twittersentiment-0.0.3.tar.gz
| Download URL | twittersentiment-0.0.3.tar.gz |
|---|---|
| Size | 3.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
887bebaa2202ab3988d5334d248d64bd7efd3b3daf052168c00b57203119567c
|
|
BLAKE2b-256 checksum How to use checksums |
ed6a5c2100084a58aeaa87b04edb323e5c4dd99ece4c51871670b86c84a36834
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / twittersentiment-0.0.3-py3-none-any.whl
| Download URL | twittersentiment-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6baab4bdcb28e79a664d8d9862aa1e857a61e0d3bf1e719a0bfb28fb0bc72432
|
|
BLAKE2b-256 checksum How to use checksums |
1ed7087d0f8a65c51f6f5423d7cf916dc85dad7dd7bd4fe6e46edb7133b9f89b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|