Skip to main content

TorchSenti

Sentiment Analysis Library for Research with PyTorch

TorchSenti provides sentiment analysis datasets from a simple one (positive/negative labels) to fine-grained one (aspect-based). TorchSenti is compatible with PyTorch to develop model and use pre-trained model to benchmark your work with other researchers.

Features

- Text Cleansing e.g removing hyperlinks
- WordPiece Tokenization with tagging for aspect extraction
- Entity metrics for aspect detection

Dataset Available

- **Sentiment Analysis**
    - IMDB Movie Reviews
    - Pros and Cons
    - Movie Review
    - Trip Advisor
    - City Search Data
    - Yelp Review
- **Aspect-based Sentiment Analysis**
    - SemEval 2014 Task 4 (ToDo)
    - SemEval 2015 Task 12 (ToDo)
    - SemEval 2016 Task 5 (ToDo)

Installation

You can install TorchSenti using pip

    pip install torchsenti

from source

    git clone https://github.com/jakartaresearch/pytorch-sentiment.git
    cd pytorch-sentiment
    python setup.py install

Getting Started

Contributors

Metadata

Release files for torchsenti 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for torchsenti 0.0.8
File Size Uploaded
torchsenti-0.0.8.tar.gz 8.6 kB Details

Release files / torchsenti-0.0.8.tar.gz

Download URL torchsenti-0.0.8.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a7be5d5f76e3c108ea12ff498f7572a99b0dc377ee519bb1f0c6f43d33e08d19
BLAKE2b-256 checksum
How to use checksums
f32cf41d8fc8585ff2932588d9f5ba72554e9016e260a2d9e2211d0e15adf601
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

0.0.8 This release

1 release file

0.0.7

2 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page