Skip to main content

Real-time continuous affect engine

Project description

Anima

anima /ˈæn.ɪ.mə/

the soul, especially the irrational part of the soul as distinguished from the rational mind.

Anima extracts a living emotional state from raw text, and outputs a vector that can be broadcast to any downstream consumer.

One example use is generating in-flight modifications to body language and changes in eye-color with the related Reachy Mini Conversational App behavioral adapter for the Reachy Mini robot. To get a better sense of how the affect extraction engine works you can check out this writeup explaining the approach.

You can get a quick sense for how the engine converts text to an emotional vector by running:
uv run pytest tests/smoke.py

Installation

pip install anima-engine@git+https://github.com/brainwavecollective/anima-engine.git

Acknowledgements

This project uses the NRC Valence, Arousal, and Dominance (VAD) Lexicon (v2.1) created by Saif M. Mohammad at the National Research Council Canada. Homepage: http://saifmohammad.com/WebPages/nrc-vad.html

If you use this project in academic work, please cite: Mohammad, Saif M. (2025). NRC VAD Lexicon v2: Norms for Valence, Arousal, and Dominance for over 55k English Terms. arXiv:2503.23547.

About the Author

Daniel Ritchie is an independent technologist and founder of the Brain Wave Collective.
LinkedIn
Email

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

anima_engine-0.0.2.tar.gz (143.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anima_engine-0.0.2-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file anima_engine-0.0.2.tar.gz.

File metadata

  • Download URL: anima_engine-0.0.2.tar.gz
  • Upload date:
  • Size: 143.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for anima_engine-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c31b0c98c1832a5358292a416d98d518abd52e5dc21accee8c6c6c1750822914
MD5 2fd5896e0b8fa69966fa05cac75fd3a4
BLAKE2b-256 d6887c0dc5efc97fc1d6061f3d9d0206c6c8c4d1581ccb8f7a65e003f293127f

See more details on using hashes here.

File details

Details for the file anima_engine-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: anima_engine-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for anima_engine-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ec089afacf3aa122e9d85671c284d1f984249f8531ce79fcd38691549687646f
MD5 cac13a203e01ac10dabb912ef9c5708f
BLAKE2b-256 c3c15867c4b36d9b072d518b67c56994885387543ebfb9eaa8f486f6025f63c5

See more details on using hashes here.

Supported by

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