Trallie: from Free-Form Text to Structured Data with LLMs

Vijayasri Iyer, Cristiano De Nobili, Mubashir Hussain Shah, Sébastien Bratières
11/23/2026
cs.CLcs.DBcs.IR

Official code: PiSchool/trallie (9 stars, Python, Apache-2.0, last commit 2025-11-21).

Abstract

Trallie is an open-source framework that leverages large language models (LLMs) to perform information extraction (IE) from natural language sources with or without user guidance. Unlike conventional approaches that rely on extensive labeled datasets or domain-specific training, Trallie enables the conversion of unstructured data into structured formats with minimal or no representative examples.

Show full abstract

The framework is designed with three key objectives: (i) reducing manual annotation by harnessing prompt-based zero-shot and few-shot capabilities of modern LLMs, (ii) flexibly parsing diverse document formats (i.e., HTML, PDF, TXT, and JSON), and (iii) improving accessibility for non-expert users by automatically inducing schemas from document collections, which can then be refined for extraction. We evaluate Trallie with open-weight LLMs on FDA 510(k) documents and on movie and university websites from SWDE. It outperforms previously reported systems when the target attributes are provided for text extraction and is competitive when it must discover attributes for the schema automatically. The project is available at https://github.com/PiSchool/trallie

View on arXivView PDF

Code Implementations(1)

PiSchool/trallieOfficial100%
Apache-2.0

Trallie (“Transfer learning for information extraction”) boosts IE for search among textual asset descriptions by doing away with costly human annotation, instead leveraging LLM capabilities to follow NL guidelines, understand labels, and manipulate NL like it does for code.

92PythonFeb 27, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{iyer2026trallie,
  title  = {Trallie: from Free-Form Text to Structured Data with LLMs},
  author = {Vijayasri Iyer and Cristiano De Nobili and Mubashir Hussain Shah and Sébastien Bratières},
  year   = {2026},
  eprint = {2611.30773},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.30773v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.30773.svg)](https://codeofpaper.com/paper/2611.30773)

Discussion