Japanese sentiment analyzer implemented in Python.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
asari Update model Feb 8, 2019
docs Initial commit Feb 6, 2019
server Update model Feb 8, 2019
tests Initial commit Feb 6, 2019
.gitignore Add trained model Feb 6, 2019
LICENSE Initial commit Feb 6, 2019
MANIFEST.in Initial commit Feb 6, 2019
Procfile
README.md Add demo link to readme Feb 8, 2019
requirements.txt Update requirements.txt Feb 6, 2019
setup.py Update version Feb 8, 2019
tox.ini Initial commit Feb 6, 2019

README.md

asari

Asari is a Japanese sentiment analyzer implemented in Python.

Demo

Image
Photo by Andrew Buchanan on Unsplash

Behold, the power of asari:

>>> from asari 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:

$ pip install asari