Skip to content

Read Chancellor as a title only inside a title phrase, and Lord Justice as one title (#913) - #932

Merged
derek73 merged 1 commit into
masterfrom
feat/913-judge-chancellor
Oct 28, 2026
Merged

derek73 merged 1 commit into
masterfrom
feat/913-judge-chancellor

Conversation

@derek73

@derek73 derek73 commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Refs #913. The last 2.8 title batch: chancellor alone. judge was measured with it and stays a title.

What changes

  • chancellor gains a dated given reading (US SSA 2,648 births, Census rank 7,974), so it is a title only inside a title phrase (rules/H9, the title phrase).

    • Chancellor Smith, Mr Chancellor Smith and Smith, Chancellor read given Chancellor. 1.4.0 through 2.7.0 read the title.
    • Vice Chancellor, Associate Chancellor and Chancellor of the Exchequer keep the title.
    • Vice Chancellor and Lord Chancellor are listed phrases, so a bare Chancellor opening a name reports title-or-name, as Dean Smith does.
  • New attaches data for the phrases a modifier does not reach:

    Word Attaches to Keeps
    lord chancellor, justice Lord Chancellor, Lord Justice
    lady justice Lady Justice
    deputy the office kind, as chief does Deputy Chancellor, Deputy Judge
    pro chancellor Pro Chancellor
    magistrate judge Magistrate Judge
  • Lord Justice and Lady Justice fix: Lord Justice Leveson and Lady Justice Arden now read title Lord Justice and Lady Justice. Every release from 1.4.0 through 2.7.0 read title Lord, given Justice.

  • judge stays a title. Measured as a contested title, it broke 13 FEC records, every one a judge filing FAMILY, JUDGE …, against 2 fixes across all local corpora. Its counts are recorded in the note on its title reading, so a later batch meets the evidence.

Cost (accepted)

  • A chancellor written with the bare title reads it as the given name: Chancellor Merkel gives given Chancellor, family Merkel.
  • John Smith, Chancellor reverses to given Chancellor, family John Smith. This is the role-word class already accepted for John Smith, Dean.

Measured

Against master f207e4f1, py3.11, uv run python tools/differential/measure.py --base <checkout>, 16 steps:

Corpus Moves
fec-individuals 10, all fixes: listing-form AA, CHANCELLOR … reading the given name, and a two-word surname before the comma keeping the word
jrc-names 5: 3 fixed (Lord Justice / Lady Justice); 2 broken, spellings of one head of government written with the bare title
ctgov-officials 1 fix (Deputy and an office title after a comma, now one title)
orcid-researchers, psc-individuals, nepal-candidates, tse-donors, tw-donors, ukec-individuals none
ORCID and PSC agreement no move
spelling pairs, CLDR, GND no move

The committed snapshot moves by Chancellor Jane Smith beside the new rule examples. A v1 Constants().titles keeps chancellor and judge with no edit.

The record is in decisions/H9 and decisions/vocabulary-model, both entries dated 2026-10-28.

🤖 Generated with Claude Code

…ce as one title (#913)

chancellor gains a dated given reading, so Chancellor Smith and Smith,
Chancellor read the given name while Vice Chancellor, Chancellor of the
Exchequer and Lord Chancellor keep the title. New attaches data keeps the
phrases a modifier does not reach: lord to chancellor and justice, lady to
justice, deputy to the office kind, pro to chancellor and magistrate to
judge. Lord Justice and Lady Justice now read one title, which no release
did.

judge was measured in the same batch and stays a title; its counts are
recorded in the note on its title reading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@derek73 derek73 added enhancement vocabulary Per-word vocabulary model and language packs labels Oct 28, 2026
@derek73 derek73 self-assigned this Oct 28, 2026
@derek73 derek73 added this to the 2.8 milestone Oct 28, 2026
@derek73
derek73 enabled auto-merge (squash) October 28, 2026 08:11
@derek73
derek73 merged commit 764aebb into master Oct 28, 2026
10 checks passed
@derek73
derek73 deleted the feat/913-judge-chancellor branch October 28, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement vocabulary Per-word vocabulary model and language packs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant