# Glossa: Learns a voice, then speaks in it

> A pure Markov text generator: tokenize → tally each n-gram's continuations → sample forward, weighted, from sentence-aware seeds. 13 tests, centred on the invariant that the generator never emits a transition it didn't see in training.

Glossa is a Markov-chain text generator that learns the style of a corpus and produces new text in that voice. The signature technique is to tokenize the input, tally each n-gram's possible continuations, and then sample forward with weighted probabilities from sentence-aware seeds, with its central test guaranteeing the generator never emits a transition it did not see in training. It is a from-scratch, dependency-light build you can download and run locally.

## About the app

Generative NLP

## What to take away

- A pure Markov text generator: tokenize → tally each n-gram's continuations → sample forward, weighted, from sentence-aware seeds. 13 tests, centred on the invariant that the generator never emits a transition it didn't see in training.
- Download: Glossa (ZIP)

## Tags

Free software, Glossa

## Read the full write-up

/downloads/glossa.zip

## We build this for clients

https://dfieldsolutions.com/en/services/full-stack

## More from the lab

- https://dfieldsolutions.com/en/lab/sylex.md — Sylex: Make sense of the slashes
- https://dfieldsolutions.com/en/lab/kindra.md — Kindra: Miss a beat, not the rhythm
- https://dfieldsolutions.com/en/lab/voxara.md — Voxara: Argue better. Lose gracefully
- https://dfieldsolutions.com/en/lab/wraithward.md — Wraithward: Spot the bait before you bite

---

Source: https://dfieldsolutions.com/en/lab/glossa
DField Solutions — Torony köz 5-1.a, 2120 Dunakeszi, Hungary — +36 20 722 0002 — dezso@dfieldsolutions.com
Booking: see https://dfieldsolutions.com/en/contact
