# Plan: the IPA course revamp, and a phonology deck for every language Source of truth: this wiki page. Written 2026-10-26. Builds on [Plan-Ipa-Course](Plan-Ipa-Course) and [ADR-0041](ADR-0041-The-Ipa-Course), and touches [ADR-0025](ADR-0025-Iso-15919-And-Ipa) (`ipa` is broad). Not built when written. Since then (checked 2026-11-04): cards may carry a narrow `[ ]` IPA in `phonetic`, with `phonetic_source`, written by `tools/import_phonetic.py` from Wiktionary (CHANGELOG 0.6.6 and 0.6.8), and the Bengali B1 batch shipped with it (#984). The rest of the plan was not found built. Everything marked **Proposed** is the author's, not a decision. ## What the owner asked (2026-10-26) > i need an IPA based pronunciation checker engine. for that, all entries in the app needs the phonetic IPA code, not the phonemic code, like [ˈkʰæt] not /ˈkæt/. this should be possible with a Haiku running a code to replace this on all cards, right? > the IPA course needs to start with the basics of IPA. like what it is, why it is created, and then how it is structured, before the notations. and the IPA chart should be understood by the users at some appropriate point of the course. the terminologies used in the IPA course, like phonemes, alveolar bridge, or whatever, needs to be specified with images and example sound contrasts. this needs to be immaculate. > also users need to be told about extIPA and it's uses (though it is not taught). > All languages should also have optional IPA decks that will be shown to people who knows IPA or want to learn it (will decide the structure later, now the focus is on the decks). these will contain the phonology / phonemic inventory of the language. and how to pronounce their words (will come a little later in sequence, maybe after B1 in path). for example: https://en.wikipedia.org/wiki/Bengali_phonology for bengali Answers (owner, 2026-10-26, to the questions in this plan's first draft): > Decision for you: write a plan page first, as with the question-engine plan, before any deck work? yes. plan it. > Images: try checking wikidata for these. > IPA transcription (phonetic [kʰæt] on every card): wikitionary has this. i dont trust rules here because a lot of languages have a lot of exceptions (e.g. engllish) Later the same day (owner, 2026-10-26): > the other 26 terms, including alveolar ridge, hard palate, glottis and the manner terms, have no image on Wikidata. They need to be fetched from elsewhere and must not be our drawings. > add the IPA extras, and find the images > the IPA deck should teach me the different manners of articulation, places, phonation, oral/nasal, median-lateral, airstream meachanism, etc as well. And (owner, 2026-10-26), on what "the IPA extras" meant: > no to first, i meant the extra decks needed for IPA. just mention extIPA and VoQS. > and also add [] IPA to all decks using a code via haiku > and add that to the deck building guideline On what to do where Wiktionary has no narrow form, after the coverage numbers (owner, 2026-10-26): > add all from wikitionary, then use rules for the rest, add a field to denote the source. the app will use them accordingly. the weak notation keeps being used as is And (owner, 2026-10-26): > ok. the IPA deck should also define what a plosive or a implosive is, as well. all terminology, basically The term is the **alveolar ridge**, not "bridge": the bony ridge behind the upper teeth. The glossary uses it. ## What exists (verified 2026-10-26) - `decks/ipa/`: eleven decks, `ipa-basics` first, then familiar, places, breath, retroflex, fricatives, liquids, vowels, diacritics, rare, narrow (`ipa-path.yaml`), with an English layer in `decks/ipa/en/`, a script guide `ipa-script.yaml` ("How the IPA works") and `ipa-facts.yaml`. Plan-Ipa-Course counted 179 cards when it was written. - Cards carry examples marked "has this sound" or "does not" (`sounds`), the languages that use the symbol as tags, and notes on where the symbol sits on the chart. - **Every `ipa` in the app is broad**, without slashes or brackets, and the validator checks it (DECK-FORMAT, the `ipa` field and "Sounds files"); a course example may write a narrow form in square brackets. About 11,000 `ipa:` lines are in the decks. - A language's sounds file (`-sounds.yaml`) lists the contrasts it tells apart, for the speaking drill. There is no phonology deck for any language. extIPA is mentioned once, in a fact in `ipa-facts.yaml` (the Extensions to the IPA, for transcribing disordered speech, first published in 1990); the course does not otherwise explain it. - A card can carry its own image (`image`, a webp shipped with the deck, with `image_credit`). Decks are CC BY-SA 4.0 (ADR-0040), the licence of Wikipedia's text, so Wikipedia can be adapted with attribution; its pages vary in quality, so the primary sources below come first. ## 1. Narrow ("phonetic") transcription of every card **Not a find-and-replace.** `/kæt/` to `[kʰæt]` needs the language's own rules and the word's context, and, as the owner says, rules have many exceptions (English most of all). A script or a Haiku can apply rules; it cannot know the exceptions. **Decided (owner, 2026-10-26): do not derive by rules; take the transcription from Wiktionary.** This replaces the author's first proposal (a rule file per language), which the owner rejected. - **What Wiktionary has** (verified for one word): its English entry for *cat* gives `/ˈkæt/` with `[ˈkʰæt]` for RP and for General American, and other accents' narrow forms, through `{{IPA|en|/ˈkæt/|[ˈkʰæt]|a=RP}}`. A word has one form per accent, so a card needs to say which accent its narrow form is. - **Licence:** Wiktionary's text is CC BY-SA 4.0, the decks' licence (ADR-0040), so it can be used with attribution (page, revision, licence). I checked neither the current Wiktionary licence nor the attribution it asks for; do that before any import. - **Coverage is unmeasured.** I tried to sample 20 words in each of six languages through Wiktionary's API and was rate limited (HTTP 429), so I have no figure. Do not assume other languages are like English: many Wiktionary entries give only `/…/`, and some give IPA that a template generates from the spelling by rules, which is the thing the owner distrusts. Measure first, from a Wiktextract dump (kaikki.org, reachable from here), not from the live API: for each language, the share of the app's words that have a hand-entered `[…]` form, a generated one, a `/…/` only, or none. - **Coverage, measured 2026-10-26** (a Haiku, from the Wiktextract dumps; share of each language's card targets with a hand-or-template-entered `[…]` form): Korean 70%, Hindustani 55%, Bengali 41%, Spanish 36%, Japanese 31%, Marathi 16%, Telugu 5%, Kannada, Assamese and Chinese under 1%; Toki Pona is not on `kaikki.org`. Phrases and sentences are mostly not covered. The Hindustani and Bengali forms look generated by Wiktionary's own spelling-to-sound templates (inference, Medium confidence: the dump does not say which template wrote a form). - **Decided (owner, 2026-10-26): Wiktionary first, rules for the rest, a field says which.** Every card Wiktionary has a narrow form for gets it. Every other card gets a form derived by per-language rules. A field records the source, so the app can treat them differently (for example, a checker may accept more variation against a rules-derived form). The broad `ipa` ("the weak notation") **keeps being used as it is**. This replaces the earlier "do not derive by rules" decision for the cards Wiktionary lacks. **Proposed shape:** `phonetic: "[ˈkʰæt]"` and `phonetic_source`, one of `wiktionary` or `rules` (a card with neither has no narrow form); `tools/import_phonetic.py` writes the first; `tools/derive_phonetic.py` writes the second from `decks//-phonetics.yaml`, an ordered rule file per language and variety, written by Sonnet from the sources named in it and checked on pairs a phonetician supplies. Rules are known to have exceptions (English most of all); the `rules` source says so on the card, which is the reason for the field. The accent a Wiktionary form is for is kept too (Hindustani's forms carry ten accent tags), shape to be set from the coverage data. - **Where it is stored (Proposed):** a new optional card field, `phonetic`, one quoted string in square brackets, beside `ipa`, which stays broad and keeps its validator rule, its sounds files and the speaking drill. A card with no Wiktionary narrow form has none; the checker falls back to the broad one. The field needs a release that reads it before a deck uses it (released apps reject unknown fields), a validator rule (square brackets, IPA letters only), a credit line, and the accent it is for. - **How it reaches every deck (owner, 2026-10-26): a tool, run by Haiku.** A tool, `tools/import_phonetic.py` (written and reviewed by Sonnet, since it is code), reads a Wiktextract dump and writes `phonetic` on each card whose word Wiktionary gives a hand-entered `[…]` form for, with the accent and a credit. Haiku runs it language by language and opens one pull request per language, which Sonnet reviews once. It writes only what Wiktionary has, so "all decks" means every card Wiktionary covers, not every card. Order: the field, its validator rule and the coverage table first (a pull request, then a release that reads it, since released apps reject unknown fields); the import pull requests go to `decks-live` after that release. Until then a deck builder writes no narrow form by hand (see `.claude/skills/build-deck/SKILL.md`). - **Built (owner asked, 2026-10-30: "make all decks compliant with the full [] IPA notations"; not run on any deck yet).** The field, its two sources and the validator rule exist (`phonetic`, `phonetic_source`; 0.6.6 reads them). The tools are `tools/import_phonetic.py` and `tools/derive_phonetic.py` (commands in [Deck-Tools](Deck-Tools)); both patch the deck text after the card's `ipa:` line, skip a card that has a `phonetic`, and report coverage per deck. What had to be decided, and how: - **Data source.** The kaikki.org per-language JSONL (`https://kaikki.org/dictionary//kaikki.org-dictionary-.jsonl`), downloaded once into the git-ignored `.cache/phonetic/`, not the live API (which rate limited the first sample). `urllib` only. - **Which form.** Each sound in the dump has a `note` and/or `tags` naming its variety. A form is taken only if it is marked as the course's variety, or is untagged (Wiktionary's default); a form with another note or tag is not. Syllable dots are dropped, as the decks' `ipa` has none, and Latin g is written ɡ. A word whose entries disagree is left alone (ambiguous), and a form that is not IPA letters and marks in brackets is counted invalid and never written. - **Variety per language (open question 4, decided for the first three).** Bengali: the Kolkata standard, Wiktionary's `Rarh` (the decks' broad `ipa` is the Kolkata standard; Dhaka and Vanga forms exist and are not taken). Hindustani: Wiktionary's "Hindi, Standard" forms and untagged ones, from the Hindi dump only (Devanagari; the Urdu entries are not read). Spanish: the untagged form, which Wiktionary does not say is Castilian or Latin American while the decks' `ipa` writes θ, so a Latin-American learner's card shows a Castilian broad form beside a form of unknown accent: left for the owner. The languages are data (#1285): the dump name and variety of each are in `tools/phonetic_languages.yaml`, read by the tool, and a new language is an entry there with no code change. Telugu and Japanese are registered as the untagged form of their dumps (measured on the kaikki.org dumps, 2026-11: Telugu 1,655 of 1,670 narrow forms carry no note or tag, Japanese 26,661 of 26,689; the rest are regional, letter names or alternative readings and are not taken). Telugu has few narrow forms (about 5% of cards), so its narrow IPA comes mostly from rules. - **Rules.** One YAML file per language, `decks//-phonetics.yaml` (kind `phonetics`, a new file kind, see "Phonetic rules files" in [Deck-Format](Deck-Format)): ordered regular-expression rules, each with a named `source`. Only well-attested rules are in: Spanish has eleven (nasal place assimilation, /b d ɡ/ as approximants, /s/ voiced, dental /t d/), Hindustani four and Bengali two (nasal place assimilation only), because the broad `ipa` of those two already writes the dental stops, aspirates, flap and nasal vowels. A rule left out is not a claim it does not exist. A card the rules leave unchanged gets no `phonetic` (its broad form in brackets would claim a precision nobody checked); `--bracket-unchanged` writes them anyway. The owner decides which. - **Not verified.** The rules and their `source` citations were written from memory of the literature and Wikipedia's phonology pages and are not checked against the works; nobody has run the tools on a deck. The Wiktionary licence's attribution wording was not read (the plan's earlier warning stands); the credit is the tool's `wiktionary` source and this page. - **A word not on Wiktionary** (inflected forms, phrases, example sentences) has no narrow form until someone writes one. Not generated. - **The checker itself is a separate project.** `speech_to_text` returns spelled text, not sounds. Checking against IPA needs an on-device phone-recognition model. That is not planned here. My inference (Medium confidence) is that such models are compared against broad forms with allophone tolerance, so narrow forms may help less than the owner expects. ## 2. The IPA course revamp **Proposed order.** The first units are new; the existing units follow, and no card id changes (ids are permanent). | # | Unit | What it teaches | |---|---|---| | 1 | What the IPA is and why it exists | spelling does not say how a word sounds; the International Phonetic Association's aim of one symbol for one sound; a short history, with a dated, cited source | | 2 | How the IPA is built | consonants by place, manner and voicing; vowels by height, backness and rounding; length, stress, tone; diacritics add detail | | 3 | How to read a transcription | brackets: `/ /` phonemic, `[ ]` phonetic, `< >` spelling; the course's own convention (broad, no slashes) and why | | 4 to 9 | the existing units, in their order | basics, familiar, places, breath, retroflex, fricatives | | 10 | The whole chart | the pulmonic chart read as a map, once its rows and columns are known; **placed after the vowels**, so each axis has been met | | 11 | Diacritics, rare sounds, fine detail | the existing units | | 12 | extIPA and VoQS: a mention only | one note in the course's script guide, "How the IPA works": the Extensions to the IPA exist for disordered speech and VoQS for voice quality, and where to read them (the 2025 and 2016 charts below). No deck, no cards, no drills | **The dimensions the course teaches (owner, 2026-10-26), each a unit with images and sound contrasts.** Proposed order and wording; the unit list in the table above is regrouped around them. | Dimension | What it teaches | Contrast examples (sounds that differ in only this) | |---|---|---| | Place | where the airflow is shaped: bilabial to glottal, with the diagrams above | /p/ and /t/ and /k/ | | Manner | stop, nasal, trill, tap or flap, fricative, approximant, affricate | /t/ and /s/; /s/ and /ɹ/ | | Phonation | voiced and voiceless; breathy and creaky voice; aspiration | /p/ and /b/; /pʰ/ and /p/; Hindustani /b/ and /bʱ/ | | Oral and nasal | whether air also goes through the nose | /d/ and /n/ | | Central (median) and lateral | air over the middle of the tongue, or over its sides | /s/ and /ɬ/; /ɹ/ and /l/ | | Airstream mechanism | pulmonic (lungs); glottalic: ejective and implosive; velaric: clicks | /k/ and /kʼ/; /b/ and /ɓ/; clicks in Zulu | | Vowels | height, backness, rounding, length, nasalisation | /i/ and /u/ and /y/ | | Secondary articulation and coarticulation | palatalised, velarised, labialised, pharyngealised; labial-velar | /t/ and /tʲ/; /w/ | | Suprasegmentals | stress, tone, length, intonation | tone minimal pairs | | Reading the whole chart | each cell as the meeting of these dimensions, once all have been met | after vowels | | extIPA and VoQS | a mention only, in the script guide (owner, 2026-10-26: "just mention extIPA and VoQS") | none | Examples take their languages from the course's tags (Hindustani, Bengali, Telugu, Spanish and others), as the existing cards do; where the app has no language with the sound, another language is used, as the cards already do. **The extra decks (owner, 2026-10-26: "the extra decks needed for IPA").** Proposed names and order, each a deck in `decks/ipa/` with an English layer, new card ids only; the eleven existing decks stay as they are. | Deck | Holds | |---|---| | `ipa-what` | what the IPA is, why it was made, how it is built | | `ipa-notation` | brackets (`/ /`, `[ ]`, `< >`), broad and narrow, how to read a transcription | | `ipa-terms` | the glossary: one card per term, with its image and its contrast | | `ipa-place` | the places of articulation, one card each, with the diagram | | `ipa-manner` | stop, nasal, trill, tap, fricative, approximant, affricate | | `ipa-phonation` | voiced, voiceless, breathy, creaky, aspiration (voice onset time) | | `ipa-nasal-lateral` | oral and nasal; central (median) and lateral | | `ipa-airstream` | pulmonic; ejective and implosive; clicks | | `ipa-vowel-dimensions` | height, backness, rounding, length, nasalisation | | `ipa-secondary` | palatalised, velarised, labialised, pharyngealised; labial-velar | | `ipa-suprasegmentals` | stress, tone, length, intonation | | `ipa-chart` | the whole chart read by its axes | Where an existing deck already teaches the symbols (places, breath, retroflex, vowels), the new deck teaches the dimension and refers to those cards by `ref`; a symbol is still taught once (ipa-path.yaml's rule). **Terms (owner, 2026-10-26: "all terminology, basically").** `ipa-terms` defines every technical term the course uses, each as a card with a plain definition, an image where one was found (never one of ours), and an example sound contrast (`sounds: true` and `false`). **The rule (Proposed):** a term a card's notes use has a card in `ipa-terms`, and its card comes before the first card that uses it; a test in `tools/test_ipa_course.py` checks both. The IPA chart's own vocabulary (its place, manner, airstream, height, backness and tone lists, read from the IPA's interactive chart on 2026-10-26) is the spine; the list below is the author's start, to be completed against every note in the course: | Group | Terms | |---|---| | The units | phoneme, allophone, minimal pair, broad and narrow transcription, diacritic, tie bar and ligature, syllable | | Articulators | lips, teeth, alveolar ridge, hard palate, soft palate (velum), uvula, pharynx, epiglottis, larynx, vocal folds, glottis, tongue tip, blade, body and root | | Places | bilabial, labiodental, dental, alveolar, postalveolar, retroflex, palatal, velar, uvular, pharyngeal, epiglottal, glottal; labial-velar, labial-palatal | | Manners | plosive (stop), nasal, trill, tap or flap, fricative, lateral fricative, approximant, lateral approximant, affricate | | Airstream | pulmonic, egressive and ingressive, **ejective, implosive, click** (non-pulmonic) | | Phonation | voiced, voiceless, aspirated and unaspirated, breathy voice, creaky voice, voice onset time | | Oral and nasal; central and lateral | oral, nasal, central (median), lateral | | Vowels | close, close-mid, open-mid, open; front, central, back; rounded and unrounded; diphthong, nasalised vowel, length | | Secondary articulation | palatalisation, velarisation, labialisation, pharyngealisation, coarticulation | | Prosody | stress, tone (level and contour), intonation | | The extensions | extIPA and VoQS: named and explained in a line each in the script guide, not taught | - **Images (decided, owner, 2026-10-26): fetched from elsewhere, never our drawings.** Searched on Wikidata (SPARQL) and Wikimedia Commons, 2026-10-26. Wikidata's `image` property covers 17 of 43 terms, mostly ordinary photos; Commons has what the course needs, as whole series: | What | Files on Commons (as found) | Licence as listed | |---|---|---| | One sagittal diagram per sound, plosives | `IPA t Sagittal Section.svg`, `IPA d …`, `IPA g …`, `IPA q …`, `IPA ɢ …`, and others | CC0 | | One diagram per sound, fricatives, approximants, nasals, trills, uvular and pharyngeal | `Voiceless alveolar fricative articulation.svg`, `Voiced retroflex approximant.svg`, `Voiced uvular nasal.svg`, `Voiceless pharyngeal fricative articulation.svg`, and others | CC BY-SA 4.0 (one CC BY 4.0) | | The places, one image each | `Bilabial.svg`, `Dental.png`, `Alveolar.svg`, `Retroflex.svg`, `Palataal.svg`, `Velar.svg`, `Glotal.svg`, `Laryngaal.svg`, `Epiglotal consonant.svg`, `Faryngal consonant.svg`, `Labiodentaal.svg` | public domain, CC BY-SA 3.0 (Bilabial, Alveolar), CC BY 3.0 (Dental) | | Mouth, palate, soft palate, uvula, larynx (alveolar ridge, hard palate, glottis) | `Illu mouth.jpg`, `Illu01 head neck.jpg`, `Gray855.png`, `Gaumen.png`, `Labeled Human Mouth.jpg`, `Larynx.svg` | public domain, CC BY-SA 3.0 and 4.0, CC0 | | Vowel charts | `IPA vowels.svg` (CC0), `IPA vowel chart.svg`, `Cardinal vowels on a vowel chart.svg` (CC BY-SA 4.0), the IPA's 2015 vowels (CC BY-SA 3.0) | as listed | | The whole chart | `IPA chart 2020.svg` and `.pdf` | CC BY-SA 3.0 | | extIPA and VoQS | `ExtIPA chart (2025).pdf` (CC BY-SA 4.0), `ExtIPA chart (2021).pdf` (CC BY-SA 3.0), `ExtIPA chart (2015).pdf` (public domain), `VOQS chart (2016).pdf` (public domain) | as listed | | Phoneme and allophone | `Phoneme-allophone-determination-chart.svg` | public domain | **Not found in the first search** (the second, below, found most): voicing and aspiration, tone, minimal pairs, the airstream mechanisms, lateral and the nasal-versus-oral contrast. **Second search (Commons categories), 2026-10-26:** | For | Files and licence as listed | |---|---| | Voicing and aspiration | `Vot.svg` (voice onset time, public domain); `Bilabial plosives English.svg`, `… French.svg`, `… Mandarin.svg`, `… Thai.svg` (the same contrast in four languages, CC0) | | Airstream | `Ipa-chart-consonants-nonpulmonic.png` (the non-pulmonic chart, CC BY-SA 3.0); `Doke … nasal click.svg` (clicks, CC BY-SA 4.0) | | Lateral | `Lateral-l-variation.svg` (CC BY 3.0) | | Nasal | `Bilabial Nasal.png` (public domain) | | Tone | `Amoy tones.JPG` (public domain), `Teochew tones.svg` (CC BY-SA 3.0) | | **Audio**, a recording per sound | Commons holds recordings for ejectives, implosives, clicks, laterals, nasals and aspirated consonants (`Alveolar ejective plosive.ogg`, `Voiced bilabial implosive.ogg`, `Velar click.ogg`, `Alveolar lateral approximant.ogg`, `Alveolar nasal.ogg` and many more), CC BY-SA 3.0 or 4.0, some CC0. They fit "optional sound for both" examples (Plan-Ipa-Course) | Still not found: stress, a sagittal diagram for the lateral, breathy and creaky phonation, and a diagram for ejective and implosive airstreams. **Checks before any file is used:** the licence on the file page itself (this list is from the API), the author and credit line for `image_credit`, and the deck licence. Decks are CC BY-SA 4.0; CC0, public domain and BY-SA 4.0 files fit it; a BY-SA 3.0 file is shown unmodified with its own licence and credit, and whether it may sit in a 4.0 deck is to be confirmed. SVG and PDF files are rasterised to the webp the `image` field takes, with the credit kept. The Commons and Wikidata APIs rate limited this environment repeatedly (HTTP 429), so the list is from slow, batched reads. - **"Immaculate."** I can build it; I cannot certify phonetic accuracy. No unit is marked `reviewed` until a phonetician has read it, and the whole course stays `unreviewed` until then, as every deck does. ## 3. A phonology deck for every language **Contents (Proposed; the structure of the offer is to be decided later):** 1. The consonant inventory, one card per phoneme: IPA symbol, an example word in the language's script, reading and broad IPA, and a minimal pair where one exists. 2. Vowels and diphthongs, the same way. 3. Prosody: stress, tone, length, nasalisation, as the language has them. 4. Syllable structure and what clusters are allowed. 5. Allophony: the language's main allophone rules, each with words that show it (taught, not used to generate forms). 6. Spelling to sound: how the script is read, with the exceptions. 7. **Pronouncing words** (later; "maybe after B1"): word cards that give the narrow form `[ ]` beside the broad one, from the `phonetic` field. **Sources, in this order:** the language's "Illustration of the IPA" in the *Journal of the International Phonetic Association* where one exists, then reference grammars and phonologies, then Wikipedia for what is missing, each with a citation in the deck. For Bengali that means the JIPA illustration of Standard Bengali (a Bangladeshi-Standard one exists; I have not checked the reference) and the Wikipedia page the owner named, which covers the Standard Colloquial variety together with others; the deck must say which it teaches. **Order:** the owner's deck priority (Telugu, Bengali, Spanish, Marathi, Kannada, Assamese, Chinese, Hindustani, Japanese, Korean, Toki Pona), with Bengali as the pilot because the owner named it (**Proposed**). ## Telugu medial anusvara (decided 2026-11-15, #1295) Telugu readings are based on ISO 15919, which writes every anusvara as ṁ. The course already departs from that before a stop, where the cards write the nasal that is said (owner, 2026-10-19: a word-final anusvara is `ṁ`, course-wide). Counted on the stored Telugu cards and examples (3,413 distinct target and reading pairs with an anusvara on 2026-11-15, of which 3,287 could be analysed; the issue's 3,387 counts targets only; the counts below are occurrences), by the letter that follows the anusvara: | Next letter | Stored nasal | |---|---| | a stop (k g c j ṭ ḍ t d p b and their aspirates) | the stop's nasal in about 96% (ṅ 345 of 368 before k and g; ñ 366 of 380 before c and j; ṇ 1,029 of 1,038 before ṭ and ḍ; n 1,489 of 1,564 before t and d; m 147 of 156 before p and b), `ṁ` in nearly all the rest | | word-final | `ṁ` 1,597, `m` 3 | | s | `ṁ` 25, `m` 3 | | v | `ṁ` 9, `m` 3 | | l | `ṁ` 59, `m` 59 | | ś, r, h | `m` 12, `ṁ` 3 | | y, ṣ, ḷ, ṟ | no card in the decks has an anusvara before them | **The rule** (`tools/transcribe.py`, `te`; decided by the architect under the issue's mandate; the owner may veto): before a stop or a nasal the anusvara is the nasal of that letter (uṇḍi, saṅgītaṁ, mañci, sampādana); word-final, and before s, v or l, it is `ṁ` (annaṁ, māṁsaṁ, annaṁlō); before every other letter (ś, ṣ, h, y, r, ḷ, ṟ) it is `m` (samyōgaṁ, samśayaṁ, samhāraṁ, samrakṣaṇa). Before a vowel it is `m` too (added 2026-11-15, #1295): in a letter-name word such as ఎస్‌ఎంఎస్ (es-em-es) the ం is the consonant m, so the reading is `esemes`, not `eseṁes`. A hint that types an m or n does not change it. The deck pass leaves the paradigm `readings:` maps half-fixed (`tools/transcribe_decks.py` rewrites a cell only when it equals a corrected core reading), so #1295 stays open for a paradigm-map pass. A hint with no nasal at all still gives `m̐` (unchanged by this change). **`m` before ś, ṣ, h, y, r, ḷ, ṟ is a deliberate departure from ISO 15919**, which writes `ṁ` there. It is kept because it matches the existing cards (12 readings against 3 before ś, r and h) and makes the deck pass smaller. Reasons for the rest: before a stop the cards' majority is overwhelming and it is what is said. `m` before l is more common in the cards (every such word is a -lō word: prapañcamlō), but `ṁ` is chosen because it is the owner's word-final letter (the anusvara ends the stem; -lō is a suffix) and ISO's; `s` and `v` were already `ṁ`. IPA writes `m` for `ṁ` and the stop's nasal for the others. **Deck pass** (deck content, done on `decks-live` by deck workers, never by hand): rewrite the stored `reading` and `ipa` of every Telugu card and example whose nasal differs from the rule. About 192 of the 3,287 readings differ (mostly `ṁ` before a stop, `m` before l). Other differences the tool shows (ph for f, r̥ for ṛ, word-initial vowels) are separate and are not part of this rule. ### Telugu clitics, ఋ and ఫ (defaults chosen 2026-11-21, #1295) **Defaults chosen by the tools session, not an owner decision; the owner can reverse any of the three.** They settle the three items the 2026-11-14 comments on #1295 left open. Evidence: the Telugu cores on decks-live at 57bcdb6 (2026-11-21), 10,692 distinct target and reading pairs, read without writing. `tools/transcribe_decks.py --check` reports 0 anusvara differences and 146 others (109 on symbol, phonology and digit cards, 34 ṛ or r̥ against ru, and 3 of spacing: `...` twice, a hyphen once), plus 4 suffix entries the tool lists apart as skipped. 1. **Clitic anusvara.** An anusvara before a postposition joined to the word follows the ordinary rule by the postposition's first letter: the nasal of a stop (annantō, kāraṅgā, carmampai, byāṅku), `ṁ` before l, s and v (annaṁlō). The comments name no postposition list and no other rule, so the behaviour is the one that reproduces the most readings: the corpus holds `ntō` 36, `ṅgā` 191, `mpai` 3, `ṅku` 11, `ṅki` 3 and `ṁlō` 141, against no `ṁtō`, `ṁgā`, `ṁki` or `ṁku`, and `mlō` once (te-5411, a hint that did not take). The tool already writes this, so there is no code change; a hint that types ṁ before a stop (annaṁtō) does not win. The cards that wrote `ṁ` before a clitic were already rewritten on decks-live. 2. **ఋ and ృ are `ru`.** Kept as the tool writes it. Counted on the corpus: `ru` 16 cards (krutajñata te-3313, vruthā te-4613, abhivruddhi te-6309, druśyaṁ te-3606, brundaṁ te-2935, ru te-0007), `ṛ` 8 and `r̥` 7. The count is a plurality, not the overwhelming majority that would override ISO 15919's r̥, but the course rule in [Readings-ISO-15919](Readings-ISO-15919.md) ("ऋ ... Telugu *ru*", with te-0007) is stated as a deliberate departure, and `ru` is the same in Marathi, Gujarati and Kannada. This replaces item 1 of "Telugu reading decisions (2026-11-15)", which kept the stored ṛ. The 15 cards with ṛ or r̥ (34 reading lines) would move to `ru`; if the owner prefers ISO's `r̥`, the change is the Telugu `r` and `rr` entries of `_VOWELS_TE` in `tools/transcribe.py` (and the corpus test). 3. **ఫ is `ph`.** The tool writes `ph` (pʰ); a hint typing `f` is kept (a loanword said with f). There is no general rule from the letters, so no tool change: the corpus has `ph` on 138 cards and `f` on 8 (counted in cards; the test comment counts readings, 250 against 11) (te-0329, te-0529, te-0895 (its base word only), te-2415, te-2416, te-2439 and the phonology rows te-6599 and te-6621, which may keep `f` to show the sound). te-0872, te-0771 and te-grammar-when are already `ph` on decks-live (read 2026-11-21), so the three named cards need nothing. Per-card overrides to `ph`, if wanted, are a decks-live change to the six others. The test `TeluguReadingRulesTest` in `tools/test_transcribe.py` keeps a small corpus of typed readings (card ids named) that the engine must reproduce. ### Other differences follow the tool (decided 2026-11-15) **Decision** (owner-delegated, approved by the parent orchestrator session on 2026-11-15, recommended by the Telugu architect; the owner can overturn it). The Telugu "other differences" that `tools/transcribe_decks.py --check` reports (about 1,060: IPA spelling choices, such as a stored `t͡ɕ` against the computed `tʃ`, `ɾ` against `r`, `f` against `ph`, and `ṛ` against `ru`) follow the tool and the deck majority. A tool-written pass (`tools/transcribe_decks.py --fix --all`, never by hand) applies them before the narrow-IPA run (TE-058), because the narrow forms derive from the broad `ipa`. ### Telugu reading decisions (2026-11-15) **Decision** (owner-delegated, approved by the parent orchestrator session on 2026-11-15; the owner can overturn it). The state below is what decks-live shows on 2026-11-15, not what is planned. 1. **ṛ and ru** (superseded 2026-11-21, see "Telugu clitics, ఋ and ఫ" below). The readings stay on ISO 15919 (ṛ, and r̥ in the narrow form), consistent with "based on ISO 15919". The tool's `ru` stays only in tool-derived IPA. The stored ISO readings are kept. Counted on decks-live (2026-11-15, the `reading` lines containing ṛ or r̥): 29 lines. 2. **Rare letters.** ౘ and ౙ read as tsa and dza: IPA `ts` and `dz`, since ISO 15919 has no letter for them. ఌ and ౡ read as l̥ and l̥̄ in the readings (ISO 15919), with IPA `lu` and `luː`. The tool change is PR #1441, which waits on the validator fix for U+0304 (issue #1442, PR #1443); it is not merged. No core card on decks-live contains ౘ, ౙ, ఌ or ౡ yet (checked 2026-11-15); the phonology layers `te-en-phonology-consonants` and `te-en-phonology-spelling` name ౘ and ౙ. 3. **Culture 1 (no guessing).** `te-culture-1` on decks-live has four verified items, te-8750 to te-8753 (PR #1381). A second sourcing attempt for six further poets is in progress. An item that cannot be sourced from two sources stays out, and each gap is recorded here until it is closed. 4. **Phonology and digit cards.** PR #1438 (commit 6ea8b8ca5) is on decks-live: broad `ipa` follows the course convention (doubled geminates, `r` for ర), and four review-queue rows are in `docs/review-queue/te.md`: te-6624 (`dz` in రాజు), te-6599 and te-6640 (loanword ఫ, `f` or `ph`) and te-6604 (the tap `ɾ` against `r` in broad `ipa`). The symbol cards stay reference-only where they have no `ipa`, and the tool differences on them are kept. 5. **Śatakam topic.** Skipped until a śatakam card exists. No card on decks-live matches satakam, śatakam or శతకం (checked 2026-11-15). **Narrow IPA, merged (verified 2026-11-15 from decks-live).** TE-058 (PR #1431) and the `te-n-dental` rule (PR #1433, commit b0ab209f4) are on decks-live. Counted there: 2,960 `phonetic` fields, each with a `phonetic_source` line, of which 2,879 are `rules` and 81 `wiktionary`. This is the split after two cards were re-derived by the rules. **Spanish rules, gaps 3 and 4 of #1369 (tools side, 2026-11-21).** The engine needs no code change for them: `derive_phonetic.py` applies each rule's regular expression in order, so a lookahead that crosses a word boundary, a rule placed after one that rewrote its context, and a rule that adds a diacritic are all plain rules; `--rederive` (PR #1372) re-derives the `rules` cards. The tests use fixture rules (`SpanishRuleKinds` in `tools/test_phonetic.py`). The rule entries, decided by the architect on #1369 and for `decks/es/es-phonetics.yaml` on decks-live. That file already holds both rules (read 2026-11-21), so no pull request there is needed; they are kept here as the record: ```yaml # after es-n-palatal, before es-n-dental - id: "es-y-palatal-stop" pattern: '(^ˈ?|[nlɲ][ ˈ]*)ʝ' replace: '\1ɟ͡ʝ' # anywhere after es-n-dental - id: "es-l-dental" pattern: 'l(?=ˈ?[tdθ])' replace: 'l̪' ``` Each carries a `source` (Navarro Tomas 1918; Hualde 2005; Wikipedia, Spanish phonology). Then `python3 tools/derive_phonetic.py es --rederive --write`. ## Marathi readings: final anusvara and schwa (decided 2026-11-21, #1476) Two questions found while building the Marathi phonetic entry, answered by the owner on 2026-11-21. 1. **Word-final anusvara.** Asked whether Marathi follows `ṁ` as Telugu does or stays `m̐`, the owner answered "1. Standardize". Marathi readings write a word-final anusvara (ं) as `ṁ`, the same convention as Telugu (owner, 2026-10-19: a word-final anusvara is `ṁ`, course-wide). "Word-final" is the Telugu rule's own definition: a space, punctuation or the end of the text follows. The IPA is unchanged (the nasal vowel, `ə̃`). A medial anusvara is unchanged (the homorganic nasal before a stop or nasal, `ṁ` before y, r, l, v, a sibilant or h), and so is a chandrabindu (`m̐`). Built in `tools/transcribe.py` (`_word_final_nasal`). 2. **Schwa over-deletion.** Asked about स्वजनजनधनाचा and गजवदन, the owner answered "2. Fix". The fix is narrow and driven by the course's 1,572 hand-typed single-word readings on decks-live: Hindi's VC_CV rule stays, because those readings follow it, side-by-side drops included (निवडणे `nivḍṇe`, नवरदेव `navrdev`, सहनशीलता `sahnśiltā`). Only two things are cut back (`_marathi_medial_drops`), to every other schwa counted from the right: a chain of three or more side-by-side drops (`svajnjndhnācā` becomes `svajnajnadhnācā`, `saklmti` becomes `saklamti`), and a pair that would leave an obstruent, v or y, and an obstruent in a row (`gajvdan` becomes `gajavdan`; no card of the course has such a run). A chain ending before ṇ (-णे, -णूक) is kept whole. Hindi, Gujarati and Bengali keep their rule. **Not settled by any source in the repository, owner to confirm:** the exact reading of the two words, and the other schwa cases the Marathi queue lists (लवकरच, आदरणीय, कृपया, काहीतरी, शेतकरी), which keep the engine's old values here although the course types `krupayā`, `kāhitari`, `śetkari` (a reviewer puts लवकरच at `lavkarac`). Medial anusvara is unchanged: the decision covered word-final only. After merge, `derive_phonetic.py mr --write` is rerun on decks-live to refresh the `phonetic` field. ## Steps (Proposed, each one pull request) | # | Step | Done when | |---|---|---| | 0 | Measure Wiktionary's narrow-form coverage per language from a Wiktextract dump; read the images' licences from a machine that reaches Commons; answer the Still open questions | a table per language; the owner has decided | | 1 | Terms glossary, ten terms with images and contrasts | a phonetician has read them; the card shape is settled | | 2 | IPA course units 1 to 3 and 12 | they read in the app at 1.4x; the validator passes | | 3 | The whole-chart unit | the chart is shown and read by axes | | 4 | Phonology deck for Bengali, parts 1 to 6, | a Bengali speaker or phonetician has checked the inventory | | 5 | (Fields, validator and both tools are built, 2026-10-30; the runs per language are not.) The `phonetic` and `phonetic_source` fields: format, validator, `tools/import_phonetic.py` and `tools/derive_phonetic.py` (Sonnet), then a release; then Haiku runs the import per language (one pull request each on `decks-live`, one Sonnet review each), then the rules per language | the validator accepts both fields; every Wiktionary form is imported; each remaining card has a rules form marked `rules`; the app reads the source | | 6 | The rest of the languages in the owner's order | each one as in step 4 | | 7 | Pronouncing-words decks | after step 5, and after B1 for the path position | **Built 2026-11-21 (#305, part of #217):** `tools/compare_wiktionary_ipa.py` compares each core card's broad `ipa` and narrow `phonetic` with Wiktionary's forms and writes a review list of the disagreements (Markdown and JSON) with the agreement rate per language and per kind of difference; it writes nothing into the decks. Usage: [Deck-Tools](Deck-Tools#compare_wiktionary_ipapy). Estimate (mine): steps 1 to 3 about 30 to 50 hours of content and 6 to 10 of code if cards need no new field; one language's phonology deck 8 to 14 hours; the `phonetic` field and import tool 10 to 16 hours. Confidence: low. ## Still open 1. ~~Derive or store the narrow form?~~ Decided: take it from Wiktionary, rules for the rest, a field says which (section 1). Built 2026-10-30: the field is `phonetic` with `phonetic_source`; the accent per form is not stored (only the course's variety is taken). 2. **Who writes it?** CLAUDE.md gives decks to Haiku; the IPA course was built by Sonnet (ADR-0041). Sonnet: costs more. Haiku: phonetics is where a weaker model invents, and one review may not catch it. 3. **Who reviews it?** A bilingual reviewer cannot check phonetics. A phonetician: not yet found. Without one, everything ships `unreviewed`. 4. **Which variety per language.** Decided 2026-10-30 for bn, hi and es (section 1, "Built"); the others when their import runs. Original question: (for Bengali, Standard Colloquial of Kolkata or the Bangladeshi Standard): one, named, with the other's differences noted. Downside: a learner of the other sees differences as exceptions. 5. **Where do phonology decks sit?** Optional and outside the path until B1 exists for the language, or in the path after B1. The first is available now; the second waits on B1, which few languages have. 6. **Does this lift "decks stop at A1" (2026-10-23) for IPA decks?** The owner asked for them, so I read it as yes, for IPA decks only. 7. ~~Images~~ Decided: fetched, never our drawings (see Images). Left: the sounds' images not found yet, and the BY-SA 3.0 question above. See also: [Plan-Ipa-Course](Plan-Ipa-Course) · [Roadmap](Roadmap) · [Plans-Index](Plans-Index) · [Home](Home)