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.0.tar.gz
(168.5 kB
view details)
Built Distribution
asent-0.1.0-py3-none-any.whl
(172.7 kB
view details)
File details
Details for the file asent-0.1.0.tar.gz
.
File metadata
- Download URL: asent-0.1.0.tar.gz
- Upload date:
- Size: 168.5 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 | 6eb56eef75711d71dfa81f8ca1f3236a4a5d8a338cc30e599a42a2818661555f |
|
MD5 | 14d16cdc0d64d20674ebabc05fb813a5 |
|
BLAKE2b-256 | a7603e222ed779fc9483f0aee36c84cb3af42ae0e9c80a2e1d49293f39576247 |
File details
Details for the file asent-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: asent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 172.7 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 | a9bec6fbf7891b56029f0fc5ca8c931920304c37be43dce87aaff8923d09ca25 |
|
MD5 | 6bf06f1b6e9021fc85bc73a3ccdbaec7 |
|
BLAKE2b-256 | 3155b22db219a6e5205f7a0d6a0861a044009e413839caadac94d16ab6e0b80c |