Language Diversity, Typology, and Scripts › Worked Example: Measuring the English-Centric Gap
Michael BrenndoerferNovember 26, 20261 min read
Language AI HandbookAll chapters We've now traced three axes of language diversity (scripts, morphology, and syntax) and identified where each one breaks a standard English-centric pipeline. In this section we'll make those failures measurable. We'll use Python to:
- Count assigned codepoints in selected Unicode ranges.
- Assemble short examples based on a shared prompt in 19 languages.
- Measure fertility for byte-level BPE trained on a small English-only corpus.
- Project input-token volume under explicit hypothetical audience sizes.
- Chart the distribution of word orders across documented languages.
- Demonstrate the grapheme-cluster issue with Devanagari and Arabic.
- Compare the stated morpheme analyses of five hand-selected words.
The tokenizer exercise compares the token counts from one BPE model fitted to the English-only fixture with the byte counts for the same strings. The WALS exercise uses published sample counts. The cells show the denominators for both comparisons.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!