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 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.1.tar.gz (137.2 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.1-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anima_engine-0.0.1.tar.gz
  • Upload date:
  • Size: 137.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for anima_engine-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4876c2467318f991245c9f67499a7565f994b886bd9ddb09d7991372f11fe18d
MD5 975c70acafe73f0159834b617f9e07a9
BLAKE2b-256 08a0b2dcaf62b5332a1723119c6013b61f54bad68eb5e6084e06557050d1f3ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anima_engine-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for anima_engine-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8526c33b50e4c1967730e83a1474b454a21944d6933ee299d8b23c63fc655747
MD5 63c9c15fdd98d200cd2cc452de122b96
BLAKE2b-256 2e367cff86a992aadfee6a59676e672247170dce32b2ef7961997d27e99df126

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