Skip to content

Should a word glued to the next at its period split there? (Dr.John Smith, Ц.Сандаг-Очир, Yu. A. Chibrikova) #1255

Open
0 of 4 issues completed

Description

@derek73

A period with no space after it joins two words into one token, and several shapes lose a name part that way:

Input today
Dr.John Smith title Dr.John, no given name
Ц.Сандаг-Очир given Ц.Сандаг-Очир, no family name
J.Smith the same shape in Latin (#998 counted 1,179 such names)
Mark Jhon Sta.Ana a saint particle glued to its surname
Yu. A. Chibrikova Yu. reads as a title by H2 (the leading abbreviation title)'s two-letter shape, not as a two-letter initial

period_joined_vocab already resolves some of these tokens by vocabulary (Lt.Gov.). What's missing is a rule for when the shape alone splits a token: an initial or a listed title before the period, and a name word after it. That has to sit alongside #998's credentials that keep the period inside (B.Pharm, M.Kes).

The shape question: does tokenize, or an early stage, split a period-joined token by the shape of its halves? If so, which halves qualify, and how does that interact with H2's shape for two-letter Cyrillic-transliterated initials (Yu., Zh.)?

Sub-issues: #1230, #1235, #1136, #1071.

Bordering: #998 (credentials glued at the period), #1166 and #317 (Thai titles glued to the name, with no period).

Activity

  1. self-assigned this
    on Nov 9, 2026
  2. derek73 commented on Nov 9, 2026

    @derek73
    OwnerAuthor

    Two more given-name shapes of this kind came up while building name matching (#1221, #1250). Name matching compares given names word by word, so it needs the token split the way the name is meant before it can compare them. Matching sets these aside until this issue is decided.

    Two words joined at the period, a capital after it. Each reads as one given word, where the same name written with a space reads as two:

    Input today
    Ma.Teresa Cruz given Ma.Teresa (Ma. Teresa Cruz reads given Ma., middle Teresa)
    M.Teresa Rossi given M.Teresa
    Gio.Batta Rossi given Gio.Batta (Giovanni Battista)

    One word contracted, lowercase after the period. The Italian start-plus-ending abbreviation. These should not split:

    Input today the name
    G.ppe Verdi given G.ppe Giuseppe
    Ant.o Bianchi given Ant.o Antonio
    Fr.co Rossi title Fr.co, no given name Francesco

    So the case after the period is a candidate signal beside the ones above. A capital starts a second word; lowercase continues the same word. Fr.co reading as a title is a separate gap: its first half is read as Fr. (Father).

    Bordering, on the Yu. row's H2 question. Alex. Smith reads title Alex., by the same leading period-abbreviation shape. That shape yields only to a listed given abbreviation (same_as), so every unlisted given name written short at the front of a name reads as a title. That's more than two-letter initials. Matching's planned prefix rule (Jo., Geo., Benj. against the name they begin) can only act where the stub reaches the given role.

    🤖 Generated with Claude Code

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions