a software toolkit for computational literature


Designed to support the creation of new works of computational literature, the RiTa library provides tools for artists and writers working with natural language in programmable media. The library is designed to be simple while still enabling a range of powerful features, from grammar and Markov-based generation to text-mining, to feature-analysis (part-of-speech, phonemes, stresses, etc). All RiTa functions are heuristic and do not require training data, thus making the core library quite compact. RiTa can also be integrated with its own user-customisable lexicon, or with the WordNet database. RiTa is implemented in both Java and JavaScript, is free/libre and open-source, and runs in a number of popular programming environments including Android, Processing, Node, and p5.js.



Node JS


from the old Norse, meaning to mark, scratch, or scribble


Text-generation via Context-Free Grammars and Markov-chains

Modules for tokenization,
verb conjugation, pluralization, and stemming

User-customizable lexicon
with letter-to-sound phoneme generation

Taggers for Syllables, Phonemes, Stress, Part-of-Speech, etc.

Runs in or outside the browser
with or without Processing
(also in Android)

Optionally integrates with
WordNet dictionary

Selected Projects