Skip to content
/ asari Public

Japanese sentiment analyzer implemented in Python.

License

Notifications You must be signed in to change notification settings

Hironsan/asari

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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