A tool for analysing sentiment in a given text-based query.
pip install edakit
from eda import SentimentAnalyzer
sentiment_analyzer = SentimentAnalyzer()
# Example texts
texts = [
"This movie sucks",
"This one is great",
"The world is about to end",
]
pred_results = sentiment_analyzer.get_list_sentiment(texts=texts)
# This should returns ["negative", "positive", "negative"]
This repository is using the Apache 2.0 license that is listed in the repo. Please take a look at LICENSE
as you wish.
If you wish to cite the framework feel free to use this (but only if you loved it 😊):
@misc{phat2020urbans,
author = {Truong-Phat Nguyen},
title = {EDAKIT: Toolkit for data exploratory analysis},
year = {2022},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/TagHubAI/edakit}}
- Patrick Phat Nguyen