Skip to main content

A python package for flexible and transparent sentiment analysis.

Project description

Asent: Fast, flexible and transparent sentiment analysis

PyPI version python version Code style: black github actions pytest github actions docs github coverage CodeFactor pip downloads

Inspired by Vader, made using SpaCy, transparent from the start.

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("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

Documentation
📚 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 asent

If you use this library in your research, please cite it using:

@inproceedings{asent2021,
  title={Asent: Fast, flexible and transparent sentiment analysis},
  author={Enevoldsen, Kenneth and Hansen, Lasse},
  year={2021}
}

Project details


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.0.3.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

asent-0.0.3-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file asent-0.0.3.tar.gz.

File metadata

  • Download URL: asent-0.0.3.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for asent-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0dd345b8505d499af8fcdf4fc20aae79c89e91b2d53b9e034c07bf57bf15e206
MD5 8750c66bacfaf86c21c5547b03843dcd
BLAKE2b-256 796392a02db6502405b0043cf77ec5e04c3b9e5db70976031151424ff1e97fdd

See more details on using hashes here.

File details

Details for the file asent-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: asent-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for asent-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 04c00367880d1c06e9171c41b424203f6a064c066678e456c05f64896562cb26
MD5 647382959d97d504320a5d722dde510c
BLAKE2b-256 874f0c9c904b256dd0ee9df987ae8e8b8c9382a2b53664e22e2bdc72d6e4217f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page