Skip to content

Should a title written in capitals stay a title under capitals_as_family? DR Anna Berg reads family DR #1402

Closed as not planned

Description

@derek73

Policy.capitals_as_family (rules/O9, #659) reads the words a name writes in capitals as its family name, and the capitals outrank the title reading there. That is what makes a surname that is also a title read right:

>>> p = Parser(policy=Policy(capitals_as_family=True))
>>> p.parse("DOYEN Hugo").family
'DOYEN'

It also takes a title that is never a surname, written in capitals with no full stop and with no other word in capitals, as the family:

Input title given middle family with the switch off
DR Anna Berg Anna Berg DR title DR, family Berg
PROF Anna Berg Anna Berg PROF title PROF, family Berg
MR Anna Berg Anna Berg MR title MR, family Berg
MS Anna Berg Anna Berg MS title MS, family Berg
ST Anna Berg ST Anna Berg the same
DR. Anna Berg DR. Anna Berg the same
DR Anna BERG DR Anna BERG the same
Dr Anna BERG Dr Anna BERG the same

Measured on master 17bc612, 2026-11-15. A word holding a full stop is no capitals word, so DR. is unaffected, and where another run of capitals follows (DR Anna BERG) the title keeps its place. The gap is the bare title in capitals when nothing else in the name is. #659's amendment of 2026-11-12 counted 204 ORCID given boxes opening with a bare DR and left this undecided; decisions/O9's Open: line records it against #659 and should point here.

Options:

  • (A) A title that is never borne as a name keeps the title reading at the head.
    • When: the switch is on, the name's first word is its only capitals run, and that word is a title of a kind no one bears as a surname (dr, mr, mrs, ms, prof).
    • Then: it is the title, and with no capitals run left the name reads by position (family Berg), which is the reading with the switch off.
    • Because: no one is surnamed DR; the capitals there are how the writer typed a title.
    • Accepted: to be measured.
  • (B) Leave it. The switch is a caller's statement that the source writes its families in capitals; a caller whose source also writes bare titles in capitals strips them first. Stated in rules/O9's Accepted list.

Open:

  1. (A) or (B).
  2. Under (A), which titles. The vocabulary does not draw the line as it stands: doyen and baron are plain members of the title set like dr and mr (neither is in titles_ambiguous), so "a title with no name reading" would take DOYEN Hugo back to title DOYEN. The candidates are a kind (the salutations) or a family reading recorded on the titles that are surnames.
  3. SR and MS are also suffixes, and ST is a title-particle that already stays a title here; whichever line is drawn should say what each reads as.

🤖 Generated with Claude Code

Activity

  1. added this to the 3.2 milestone on Nov 15, 2026
  2. self-assigned this
    on Nov 15, 2026
  3. added
    titles
    name-order
    on Nov 15, 2026
  4. derek73 commented on Nov 19, 2026

    @derek73
    OwnerAuthor

    Decided 2026-11-19: option (B), left as it is. DR Anna Berg is not written in the format the switch is for: nothing in it marks a family in capitals, so capitals_as_family is the wrong setting for that name.

    Counted the same day on the local corpora, names with a word in capitals and a word in mixed case before any comma, credentials and roman numerals left out (a crude classing; ORCID and the other large corpora sampled one name in five):

    Corpus Family in capitals Title in mixed case (Dr Anna BERG) Title in bare capitals (DR Anna BERG)
    ctgov-contacts 36,356 (7.0%) 308 0
    ctgov-officials 29,610 (5.5%) 148 4
    orcid-researchers, sampled 10,042 (2.8%) 59 4
    ukec-individuals 240 87 0
    govuk-people 59 49 0
    opensanctions-parliaments 892 0 0
    vn-assembly 142 0 0

    (675 ctgov-contacts entries opening US are call centres and are left out.)

    • A name that marks its family in capitals writes its title in mixed case, about 650 to 8.
    • DR Anna BERG reads right already, the capitals family behind it keeping the title its place.
    • The shape above, a bare title in capitals and no other capitals, is 69 names in the two registry corpora, 7 in jrc-names and 3 in the ORCID sample.

    Option (A) would need the vocabulary to tell a title never borne as a surname (DR, MR) from one that is (DOYEN, BARON), which it does not, for about one name in ten thousand.

    What follows, with #1183's docs change: rules/O9's Accepted list and the user docs say a bare title in capitals is the family where nothing else in the name is in capitals, and that such a name is not in the switch's format; decisions/O9's Open: line is closed with this entry.

    Not checked: whether Parser.suggest counts such a name as a vote for capitals_as_family.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

name-ordertitles

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions