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.3.tar.gz (1.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: torchsenti-0.0.3.tar.gz
  • Upload date:
  • Size: 1.9 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.3.tar.gz
Algorithm Hash digest
SHA256 9e98f8b911ee5e0b08201e6e6c64fabc84490a5fbfa32d188dba24fce55d66c5
MD5 ead56bcbe2ca20470872cdab126cf441
BLAKE2b-256 1a380916fd3a1ea3173de3bee6ffda791ff5b87aa2e803c1e7cce9df2c072c3a

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