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.

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


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

Uploaded Source

Built Distribution

asent-0.0.8-py3-none-any.whl (157.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asent-0.0.8.tar.gz
  • Upload date:
  • Size: 152.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

Hashes for asent-0.0.8.tar.gz
Algorithm Hash digest
SHA256 7aa0161a1bb7625351b8e59c14a581e5b15e96ec94fe40b7accfd8aa3e891d9f
MD5 b70babed5e46af5fb6cdd2f87042b98f
BLAKE2b-256 529dfd804f62637b13d4824e86213aee8fb2610965f7a6db0144514bc65e8db1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asent-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 157.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

Hashes for asent-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fda327d825af8517c0d761ff032f8c636e92909174ac010744fc484c30a5210c
MD5 3835d7bf74888cad6f6b6addb1485e7a
BLAKE2b-256 63a863fa2443d843c703a6f7710d119353b10dba04889e08dd6da67cecd333bc

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