Zero-shot emotion classification for text, images, video and speech, and tools to find faces and code them by hand. Text is scored with 'Hugging Face' transformer pipelines (default 'cross-encoder/nli-distilroberta-base'). Images and video are scored with 'OpenAI CLIP'; faces can be limited to those found by 'OpenCV YuNet'. Speech segments are scored with 'LAION CLAP'. Frame scores can be calibrated and combined into posteriors, and detected faces or other items can be turned into a local coding task served from R. Any other zero-shot model can be selected by its name on <https://huggingface.co/models>. For details see Tomašević, Golino, and Christensen (2026) <doi:10.5117/CCR2026.2.2.TOMA>.
| Version: | 0.1.9 |
| Depends: | R (≥ 3.5.0) |
| Imports: | dplyr, googledrive, Matrix, methods, pbapply, reticulate (≥ 1.45.0), textdata, jsonlite, ggplot2, reshape2, httr, httpuv (≥ 1.6.0) |
| Suggests: | IRdisplay, knitr, LSAfun, markdown, remotes, rmarkdown, rstudioapi, testthat (≥ 3.0.0), withr |
| Published: | 2026-10-26 |
| DOI: | 10.32614/CRAN.package.transforEmotion |
| Author: | Alexander Christensen
|
| Maintainer: | Aleksandar Tomašević <atomashevic at gmail.com> |
| License: | GPL (≥ 3.0) |
| Copyright: | See file inst/COPYRIGHTS transforEmotion copyright details |
| NeedsCompilation: | no |
| Citation: | transforEmotion citation info |
| Materials: | README, NEWS |
| CRAN checks: | transforEmotion results |
| Reference manual: | transforEmotion.html , transforEmotion.pdf |
| Vignettes: |
Setup and Tutorial (source, R code) Evaluating Emotion Classification with evaluate_emotions() (source, R code) Checking faces and coding them by hand (source, R code) |
| Package source: | transforEmotion_0.1.9.tar.gz |
| Windows binaries: | r-devel: transforEmotion_0.1.7.zip, r-release: transforEmotion_0.1.8.zip, r-oldrel: transforEmotion_0.1.7.zip |
| macOS binaries: | r-release (arm64): transforEmotion_0.1.9.tgz, r-oldrel (arm64): transforEmotion_0.1.9.tgz, r-release (x86_64): transforEmotion_0.1.9.tgz, r-oldrel (x86_64): transforEmotion_0.1.9.tgz |
| Old sources: | transforEmotion archive |
Please use the canonical form https://CRAN.R-project.org/package=transforEmotion to link to this page.