Alphabetical sentence¶
alphabetical_sentence · letter · validated
A sentence whose words appear in alphabetical order from first to last, without rearrangement.
Provenance¶
- Source: Word Ways, the Journal of Recreational Linguistics (1968 onwards)
- Attribution:
reference— attested in a standard reference rather than traced to an origin - Checkability:
self— decidable from the text and its parameters alone - Attested:
codified— formulated as a rule by a tradition rather than declared by an author
Details¶
- Kind: restrictive
- Languages: en, de
- Requires:
tokens,fold_diacritics - Deterministic: yes
- In other languages: Alphabetischer Satz (de)
Prompt hint¶
Write a sentence whose words run in alphabetical order.
Parameters¶
| Name | Type | Default | Description |
|---|---|---|---|
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. |
Examples¶
in-order¶
en — this text satisfies the procedure.
all bad cats dance eagerly
Source: constructed example
out-of-order¶
en — this text does not satisfy the procedure.
all cats bad dance
Source: constructed counterexample
alphabetisch-geordnet¶
de — this text satisfies the procedure.
Anna backt dünne Erdbeerkuchen für glückliche Hühner.
Source: constructed example; the order holds whether or not ü folds to u (ADR 0063)
aepfel-nach-birnen¶
de — this text does not satisfy the procedure.
Birnen, Äpfel.
Source: constructed counterexample; Ä folds to a, so "Äpfel" sorts before "Birnen" and is out of order after it. With fold_diacritics off the same text is in order, so the verdict turns on the fold