Skip to content

Should a word that is a title or credential only by one of its chunks count as one in brackets and at the end of a name: (Msc.Ed), John Smith Lt.Gov? #1131

Closed

Description

@derek73

rules/S3 reads a word with interior periods by its chunks: a title if any chunk is a title, else a suffix if any chunk is a suffix (v1's rule for Lt.Gov.). Two slots read such a word by stricter tests and disagree with it:

Input Reads Why
John Smith Msc.Ed suffix Msc.Ed the trailing suffix peel reads the chunk rule
John Smith (Msc.Ed) nickname Msc.Ed S1 sets apart a credential listed whole, or joined by a slash or hyphen with every chunk listed
John Smith Lt.Gov family Lt.Gov rules/H5 takes a word listed whole without a final period (#1126), not one by its chunk
John Smith Lt.Gov. title Lt.Gov. with the final period, H5 takes the chunk-read word (#1116)
John Smith (Bob.PhD) nickname Bob is a name
John Smith Bob.PhD suffix Bob.PhD

The question: does a word read as a title or suffix by one chunk alone count where the slot has no other signal, the period inside being the only sign?

  • Any chunk: brackets set apart (Msc.Ed) and (Bob.PhD), and the end of a name takes Lt.Gov, Dr.PhD and St.John as titles without a final period.
  • Every chunk, as the slash and hyphen joins already ask: (Msc.Ed) is set apart only if both msc and ed are listed, and (Bob.PhD) is not.

#998 is the same chunk rule's cost elsewhere: Ahmed Ali M.Hassan loses its surname to the guess.

Carried from #1104, measured 2026-11-05 on 9a7a7616 and re-read 2026-11-06 on 9cdc64bc:

Input Reads
John Smith (Msc.Ed) nickname Msc.Ed
John Smith (Msc.Ed.) suffix Msc.Ed. (the period escape: read bare)
John (Msc.Ed) Smith nickname Msc.Ed
Smith (Msc.Ed), John nickname Msc.Ed
John Smith (PhD, Msc.Ed) nickname PhD, Msc.Ed
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