Inspired by Vader, made using SpaCy, transparent from the start.
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.
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("da_core_news_lg")
# add the rule-based sentiment model
nlp.add_pipe("asent_da_v1")
# try an example
text = "jeg er ikke lΓ¦ngere sur. πΏ"
doc = nlp(text)
# visualize the results
asent.visualize(doc)
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 |
Type | |
---|---|
π¨ FAQ | FAQ |
π¨ Bug Reports | GitHub Issue Tracker |
π Feature Requests & Ideas | GitHub Issue Tracker |
π©βπ» Usage Questions | GitHub Discussions |
π― General Discussion | GitHub Discussions |
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}
}