Skip to main content

A Sentiment Analysis Library for Research on top of PyTorch

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torchsenti-0.0.8.tar.gz (8.6 kB view details)

Uploaded Source

File details

Details for the file torchsenti-0.0.8.tar.gz.

File metadata

  • Download URL: torchsenti-0.0.8.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for torchsenti-0.0.8.tar.gz
Algorithm Hash digest
SHA256 a7be5d5f76e3c108ea12ff498f7572a99b0dc377ee519bb1f0c6f43d33e08d19
MD5 dc88353b905c3a86872272370fb541db
BLAKE2b-256 f32cf41d8fc8585ff2932588d9f5ba72554e9016e260a2d9e2211d0e15adf601

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page