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

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.3.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.3-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anima_engine-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d5dfccbdb5e58e860d13b9d675d40d540586f3e7f46a08cecdbf4055931c346b
MD5 b33c7d0dad7bda7de18474c5ec236057
BLAKE2b-256 1d5238b397aad5a7caaa202c84881680afc14679157df7c326d65d337a4faa63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: anima_engine-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c2c149c375ad09649991e7362dafaff76239c541dde7741bf4eae656e85e3026
MD5 1bca783445fe5228de2fd5185e6f9110
BLAKE2b-256 c1c909f067ec25b55c7a1923437103fd7ce9b90ad417c577a23c544b5d4565a1

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