Skip to content

Should a dotted title like "U.S. District Judge" read as a title, the way "US District Judge" does? #490

Description

@derek73

Two long-standing xfails share one signal: letters separated by periods smell like initials. E.T. Smith gives given="E.T." but given="E.", middle="T." could be a nice optional correction. U.S. District Judge Marc Thomas Treadwell fails to read U.S. as a title in a chained title, but it could.

The hazard is that the same shape is credential vocabulary — SUFFIX_ACRONYMS contains a specific list like M.D., Ph.D. — so a bare "dotted single letters = initials" rule collides with John Smith M.D. and the S-rules' acronym handling. But potentially anything at the end of a name that smells like initials could be a suffix candidate beyond what we have recorded in the constants.

The question: is there a version of the signal that we could use in to inform decisions about first/middle initial split correction, potential title or suffix acronym?

Activity

  1. self-assigned this
    on Sep 2, 2026
  2. added this to the 2.4 milestone on Sep 9, 2026
  3. derek73 commented on Oct 3, 2026

    @derek73
    OwnerAuthor

    Looked at this on 2026-10-02 against the 2.4 tree. Taking it out of 2.4: the benefit is small and nobody has asked for it. This records what we worked out so it doesn't need to be redone.

    Why the dotted form misses. US District Judge Marc Thomas Treadwell already reads title US District Judge, because us is in TITLES. U.S. District Judge … reads given U.S., middle District Judge Marc Thomas, because title lookup keeps interior periods (u.s). Suffix-acronym lookup strips all of them, which is why M.D. matches as a suffix and U.S. never matches as a title.

    Why a blanket period-strip is wrong. The interim 2.0 build that did this was reverted. 73 two- and three-letter titles would collide with ordinary initial pairs (D.R., M.R., M.S., S.T., H.R., …), and U.S. Grant would read title U.S., family Grant, the same way US Grant reads today. The title floor keeps a name word, but it gives back the last word, so the given name is lost.

    The candidate rule, if someone wants this. A token whose period-separated chunks are all single letters, and whose period-free spelling is in TITLES, joins the title run only if a title still follows it after the floor has given its word back:

    Input Reading
    U.S. Grant unchanged: given U.S., family Grant
    D.R. King unchanged: floor returns King, given D.R.
    D.R. King George title D.R. King, given George (matches Dr King George)
    U.S. District Judge Marc Thomas Treadwell title U.S. District Judge, fixing the xfail

    The accepted cost. Most short titles are one-word abbreviations (dr, mr, lt, col) that nobody writes with a dot between every letter. Their dotted forms are always initials, so M.R. King George would read title M.R. King. The alternative is a curated subset of titles that can be dotted (us, uk, ceo, vc, bg, mg, pfc, …). That's more precise, but it's another list to maintain. We leaned toward accepting the cost and pinning that case in a test.

    No conflict with the 2.4 dotted-suffix switch. Policy.unlisted_dotted_suffixes (rules.md#S3) acts only at the end of a name and explicitly excludes leading dotted runs. This rule acts only at the front, so the two never compete for the same token.

    Also considered, not pursued for now:

    • Splitting E.T. Smith into given E., middle T. (the xfail test_two_initials_conflict_with_conjunction, which still cites this issue). Any split must happen after roles are assigned, or S3 would see two initials instead of one dotted token in John Smith E.T..
    • initials() on a dotted token. It gives one letter per token: J.R.R. Tolkien → J. T., E.T. Smith → E. S.. This changes no roles, so it would be the safest piece to pick up first.
  4. removed this from the 2.4 milestone on Oct 3, 2026
  5. changed the title [-]Should dotted single letters read as initials when they collide with title and credential vocabulary? ("E.T. Smith", "U.S. District Judge")[/-] [+]Should a dotted title like "U.S. District Judge" read as a title, the way "US District Judge" does?[/+] on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions