GitPedia

Text fabric

File format, model, API, and apps for manipulating text and its annotated features

From annotation·Updated May 20, 2026·View on GitHub·

**text fabric** is a File format, model, API, and apps for manipulating text and its annotated features The project is written primarily in Jupyter Notebook, distributed under the MIT License license, first published in 2016. Key topics include: annotation, bhsa, cuneiform, etcbc, etcbc-data.

Latest release: v10.2.4For tool registry
September 10, 2022View Changelog →
<img src="/tf/docs/images/tf-small.png" align="left"/>

Text-Fabric

SWH
DOI
CII Best Practices
Project Status: Active – The project has reached a stable, usable state and is being actively developed.


See the new developments


Everything about us, everything around us, everything we know and can know of
is composed ultimately of patterns of nothing;
that’s the bottom line, the final truth.
So where we find we have any control over those patterns,
why not make the most elegant ones, the most enjoyable and good ones,
in our own terms?

-- Iain M. Banks.
Consider Phlebas:
A Culture Novel (Culture series)


... of days that are no more,
but which run on like a warp
to which the future weaves its weft.

-- Alastair McIntosh.
Poacher's Pilgrimage:
Introduction to a Gaelic evening prayer


A corpus of ancient texts and (linguistic) annotations represents a large body of knowledge.
Text-Fabric makes that knowledge accessible to programmers and non-programmers.

Text-Fabric is machinery for processing such corpora as annotated graphs.
It treats corpora and annotations as data, much like big tables, but without
loosing the rich structure of text, such as embedding and multiple representations.
It deals with text in a state where all markup is gone, but where the complete logical
structure still sits in the data.

All about Text-Fabric is in the
docs.

See also
text-fabric-factory
for programs to convert other formats to TF.

Want to contribute?

Start with the contribution notes.

Found a vulnerability? Please read the security note.

Author

Dirk Roorda


This repository is being archived continuously by the
Software Heritage Archive.
If you want to cite snippets of the code of this repository, the Software Archive
offers an easy and elegant way to do so.
As an example, here I quote the
stitching algorithm,
by means of which Text-Fabric Search collects the solutions of a
search template.
The quote refers directly to specific lines of code, deeply buried in
a Python file within a particular version of Text-Fabric.

Contributors

Showing top 5 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from annotation/text-fabric via the GitHub API.Last fetched: 6/17/2026