Des émotions au fil du récit
Résumé
Computational emotion analysis has become an established tool in computational literary studies for describing and comparing narratives. However, the solutions currently available for French remain limited and often rely on fixed lexicons that are not very robust to context, such as polysemy, negation, or irony, and that are difficult to relate back to the text in a fine-grained way. We present here fabula-fr, a Python package designed for emotion analysis in Francophone narratives. It is based on Transformer models while retaining a simple and reproducible pipeline. fabula offers several segmentation and smoothing strategies, an "in-context" mode to stabilize the analysis of long texts, preservation of probabilistic distributions, configurable smoothed arcs, and procedures providing a minima explainability for classification choices. Our article situates these design choices within the state of the art and proposes an agenda for validation and extension.
| Origine | Fichiers produits par l'(les) auteur(s) |
|---|---|
| Licence |