Skip to content

Slenderizing

slenderizing · word · validated

A rewriting in which every instance of one letter is deleted, the surviving letters closing up into new words.

Provenance

  • Source: Oulipo, Atlas de littérature potentielle (1981)
  • Attribution: reference — attested in a standard reference rather than traced to an origin
  • Checkability: source — decidable against the source text it was made from
  • Attested: author-stated — the originator set this rule down

Details

  • Kind: both
  • Languages: en, fr
  • Requires: tokens, fold_diacritics
  • Deterministic: yes
  • Also known as: elementary morphological deletion
  • In other languages: Maigrissement (fr)

Prompt hint

Copy the source text with every letter "{deleted}" deleted, in any case, and every other letter kept, in its order. Unless a line below says otherwise, an accented form of the letter is deleted too.

Parameters

Name Type Default Description
deleted string — The letter removed from the source.
fold_diacritics boolean True Whether accented letters count as their base letter, and ß as ss. False keeps each accented letter, and ß, a letter of its own.
source string — The text this one was made from.

Examples

r-removed

en — this text satisfies the procedure.

bat

Parameters: source='brat', deleted='r'

Source: constructed example; the procedure is Oulipian

r-kept

en — this text does not satisfy the procedure.

brat

Parameters: source='brat', deleted='r'

Source: constructed counterexample

eszett-goes-with-the-s

de — this text satisfies the procedure.

Die trae war gro.

Parameters: source='Die Straße war groß.', deleted='s'

Source: constructed example; ß casefolds to ss, so a text deleting s must lose the ß too — the disagreement between apply and check that ADR 0035 D6 fixed

eszett-kept-while-deleting-s

de — this text does not satisfy the procedure.

Die traße war groß.

Parameters: source='Die Straße war groß.', deleted='s'

Source: constructed counterexample; this is exactly what apply used to produce

oe-ligature-loses-only-its-e

fr — this text satisfies the procedure.

L cour t la sour

Parameters: source='Le cœur et la sœur', deleted='e'

Source: constructed example; œ folds to oe, so deleting e must leave the o standing where deleting s takes the whole ß — the mixed fold ADR 0035 D6 turns on

oe-ligature-dropped-whole-while-deleting-e

fr — this text does not satisfy the procedure.

L cur t la sur

Parameters: source='Le cœur et la sœur', deleted='e'

Source: constructed counterexample; this is what apply produced when it dropped a character whenever any letter it folds to matched

oe-ligature-loses-only-its-o

fr — this text satisfies the procedure.

Le ceur et la seur

Parameters: source='Le cœur et la sœur', deleted='o'

Source: constructed example; the other half of the same ligature, where the old code refused with degenerate_output rather than answering