Pangrammatic window¶
pangrammatic_window · letter · validated
A stretch of naturally occurring text, as short as possible, that happens to contain every letter of the alphabet.
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
- Requires:
alphabet,fold_diacritics - Deterministic: yes
Prompt hint¶
Find the shortest run of ordinary prose containing all twenty-six letters.
Parameters¶
| Name | Type | Default | Description |
|---|---|---|---|
fold_diacritics |
boolean | True |
Treat accented letters as their base letter, and ß as ss. |
max_length |
integer | — |
The longest window that still counts. |
Examples¶
pack-my-box¶
en — this text satisfies the procedure.
Pack my box with five dozen liquor jugs
Parameters: max_length=40
Source: Traditional 32-letter pangram, in circulation by the early 20th century
over-the-bar¶
en — this text does not satisfy the procedure.
The quick brown fox jumps over the lazy dog
Parameters: max_length=30
Source: The fox pangram, checked against a bar shorter than its own length
missing-several-letters¶
en — this text does not satisfy the procedure.
the quick brown fox
Parameters: max_length=100
Source: constructed counterexample
empty-text-is-not-vacuous¶
en — this text does not satisfy the procedure.
Parameters: max_length=100
Source: constructed counterexample