https://github.com/hironsan/asari
Japanese sentiment analyzer implemented in Python.
https://github.com/hironsan/asari
machine-learning natural-language-processing sentiment-analysis
Last synced: about 1 year ago
JSON representation
Japanese sentiment analyzer implemented in Python.
- Host: GitHub
- URL: https://github.com/hironsan/asari
- Owner: Hironsan
- License: mit
- Created: 2019-02-06T05:17:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-15T08:59:15.000Z (over 2 years ago)
- Last Synced: 2025-03-30T20:11:32.541Z (about 1 year ago)
- Topics: machine-learning, natural-language-processing, sentiment-analysis
- Language: Python
- Homepage:
- Size: 50.3 MB
- Stars: 148
- Watchers: 6
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# asari
Asari is a Japanese sentiment analyzer implemented in Python.
## Usage
Behold, the power of asari:
```python
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+:
```bash
pip install asari
```