Skip to content

fix(content): show the article "a" as /ə/ in the textbook IPA - #51

Merged
IgnacioLD merged 1 commit into
mainfrom
fix/display-ipa-article
Nov 24, 2026
Merged

IgnacioLD merged 1 commit into
mainfrom
fix/display-ipa-article

Conversation

@IgnacioLD

Copy link
Copy Markdown
Owner

The British display IPA is built from a reference phonemized word by word, so espeak-ng read the article "a" alone as the letter name /eɪ/. Learners saw it in 295 drills, dialogue turns and stories ("Have a good flight" as hˈæv ˈeɪ ɡˈʊd).

  • textbook_ipa.apply_to_banks now writes the article as /ə/. A capital "A" counts as the article only at the start of a sentence, so "plan A" keeps /eɪ/. If a line's words and IPA chunks don't line up, it is left as it is.
  • Display only: the scoring ipa and the en-GB reference are unchanged.
  • Tests: textbook_ipa_test.py 16/16, with new cases for the article, the capital A and misaligned lines.

Content: IgnacioLD/glosso-data fix/a-weak-form (a re-scan finds no "a" left as /eɪ/ and the publish reports 0 invalid).

The British reference is phonemized word by word, so espeak-ng read "a"
alone as the letter name /eɪ/ and learners saw it in 295 drills, dialogue
turns and stories. apply_to_banks now writes the article as /ə/; a capital
"A" counts as the article only at the start of a sentence. The scoring IPA
is unchanged.
@IgnacioLD
IgnacioLD merged commit 31d6c63 into main Nov 24, 2026
4 checks passed
@IgnacioLD
IgnacioLD deleted the fix/display-ipa-article branch November 24, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant