A python package for flexible and transparent sentiment analysis.
Project description
Asent: Fast, flexible and transparent sentiment analysis
Inspired by Vader, made using SpaCy, transparent from the start.
Installation
Installing Asent is simple using pip:
pip install asent
There is no reason to update from GitHub as the version on pypi should always be the same of on GitHub.
Simple Example
The following shows a simple example of how you can quickly apply sentiment analysis using asent. For more on using asent see the usage guides.
import spacy
import asent
# load spacy pipeline
nlp = spacy.load("en_core_web_lg")
# add the rule-based sentiment model
nlp.add_pipe("asent_en_v1")
# try an example
text = "I am not very happy, but I am also not especially sad"
doc = nlp(text)
# visualize the results
asent.visualize(doc)
📖 Documentation
Documentation | |
---|---|
🔧 Installation | Installation instructions for Asent |
📚 Usage Guides | Guides and instructions on how to use asent and its features. |
📰 News and changelog | New additions, changes and version history. |
🎛 Documentations | The detailed reference for augmenty's API. Including function documentation |
💬 Where to ask questions
Type | |
---|---|
🚨 FAQ | FAQ |
🚨 Bug Reports | GitHub Issue Tracker |
🎁 Feature Requests & Ideas | GitHub Issue Tracker |
👩💻 Usage Questions | GitHub Discussions |
🗯 General Discussion | GitHub Discussions |
🎓 Citing this work
If you use this library in your research, please cite it using:
@inproceedings{asent2021,
title={Asent: Fast, flexible and transparent sentiment analysis},
author={Kenneth Enevoldsen},
year={2021}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
asent-0.1.1.tar.gz
(233.7 kB
view details)
Built Distribution
asent-0.1.1-py3-none-any.whl
(240.0 kB
view details)
File details
Details for the file asent-0.1.1.tar.gz
.
File metadata
- Download URL: asent-0.1.1.tar.gz
- Upload date:
- Size: 233.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62485dc85d68d79e7cc37469a7a9c87ccce258203bd962465019948d4eff2828 |
|
MD5 | 025d3a6e1c109a922a66fb829b76e42b |
|
BLAKE2b-256 | e7ecabf761f9bfa0e3a9fbed7f83ba40dfd565185a8342119e9766e28adbe454 |
File details
Details for the file asent-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: asent-0.1.1-py3-none-any.whl
- Upload date:
- Size: 240.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e0aacb0207004b76a55622c31f2ef97ee5e675ffa6adbf713f384073d84be87 |
|
MD5 | 73210a592516152826869d6e5a02efe4 |
|
BLAKE2b-256 | 673c09f974657458ae2ce4ef17ec5234d788b6d979bf2adaec317909b0917fd1 |