Skip to main content

Japanese sentiment analyzer implemented in Python.

Project description

asari

Asari is a Japanese sentiment analyzer implemented in Python.

Usage

Behold, the power of asari:

from asari.api import Sonar
sonar = Sonar()
sonar.ping(text="広告多すぎる♡")
{
  "text" : "広告多すぎる♡",
  "top_class" : "negative",
  "classes" : [ {
    "class_name" : "positive",
    "confidence" : 0.09130180181262026
  }, {
    "class_name" : "negative",
    "confidence" : 0.9086981981873797
  } ]
}

Asari allows you to classify text into positive/negative class, without the need for training. You have only to fed text into asari.

Installation

To install asari, simply use pip with Python 3.8+:

pip install asari

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

asari-0.2.0.tar.gz (10.3 MB view hashes)

Uploaded Source

Built Distribution

asari-0.2.0-py3-none-any.whl (10.4 MB view hashes)

Uploaded Python 3

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