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.
Project Homepage: http://saifmohammad.com/WebPages/nrc-vad.html
Author Email: saif.mohammad@nrc-cnrc.gc.ca

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.4.tar.gz (143.7 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.4-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anima_engine-0.0.4.tar.gz
  • Upload date:
  • Size: 143.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for anima_engine-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7b04452d0507d0a159af29449546f6803324c6369e269171a4e845e2da09d615
MD5 13ff0caacca267a0730fec0bc65a427d
BLAKE2b-256 2e17f2c8c3af257ecc49a68b953e9efd73d119c08c74989f42bc049dd599f7e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for anima_engine-0.0.4.tar.gz:

Publisher: pypi.yml on brainwavecollective/anima-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: anima_engine-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for anima_engine-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 eb99adade2ae59100af809c2b9db369c2567d25f8166ef8d77643c6b0fc90ed8
MD5 9b31226f89c31a1930f07b8d71864648
BLAKE2b-256 8d75a98ac7298d1d0c54952a1550a829e20bd6b28f13fc166b95b55150d20c1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for anima_engine-0.0.4-py3-none-any.whl:

Publisher: pypi.yml on brainwavecollective/anima-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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