LLM_annotate: A Python package for annotating and analyzing fiction characters

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Rosenbusch, Hannes
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917187659235328
author Rosenbusch, Hannes
author_facet Rosenbusch, Hannes
contents LLM_annotate is a Python package for analyzing the personality of fiction characters with large language models. It standardizes workflows for annotating character behaviors in full texts (e.g., books and movie scripts), inferring character traits, and validating annotation/inference quality via a human-in-the-loop GUI. The package includes functions for text chunking, LLM-based annotation, character name disambiguation, quality scoring, and computation of character-level statistics and embeddings. Researchers can use any LLM, commercial, open-source, or custom, within LLM_annotate. Through tutorial examples using The Simpsons Movie and the novel Pride and Prejudice, I demonstrate the usage of the package for efficient and reproducible character analyses.
format Preprint
id arxiv_https___arxiv_org_abs_2601_03274
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LLM_annotate: A Python package for annotating and analyzing fiction characters
Rosenbusch, Hannes
Computation and Language
Artificial Intelligence
LLM_annotate is a Python package for analyzing the personality of fiction characters with large language models. It standardizes workflows for annotating character behaviors in full texts (e.g., books and movie scripts), inferring character traits, and validating annotation/inference quality via a human-in-the-loop GUI. The package includes functions for text chunking, LLM-based annotation, character name disambiguation, quality scoring, and computation of character-level statistics and embeddings. Researchers can use any LLM, commercial, open-source, or custom, within LLM_annotate. Through tutorial examples using The Simpsons Movie and the novel Pride and Prejudice, I demonstrate the usage of the package for efficient and reproducible character analyses.
title LLM_annotate: A Python package for annotating and analyzing fiction characters
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2601.03274