Skip to content

Keep the letter after an apostrophe lower case when repairing case (SA'DULLAYEV ALISHER gives Sa'Dullayev; Uzbek, Kikuyu, Hawaiian) #1274

Open

Description

@derek73

Uzbek Latin writes the letters oʻ and gʻ with an apostrophe, officially the okina U+02BB, in practice often the typed '. Case repair (R4) capitalizes after an apostrophe inside a word, as O'Brien needs. So it capitalizes inside the Uzbek letter. Measured on master b76f278:

Input capitalized() written
O'TKIR SOBIROV O'Tkir Sobirov O'tkir Sobirov
G'OFUROV AZIZ G'Ofurov Aziz G'ofurov Aziz
SA'DULLAYEV ALISHER Sa'Dullayev Alisher Sa'dullayev (here the apostrophe is the tutuq belgisi, a glottal stop)
AZIZ SOBIRJON O'G'LI … O'G'Li o'g'li
OʻTKIR SOBIROV (U+02BB) Oʻtkir Sobirov right: U+02BB is a word character
PATRICK O'BRIEN O'Brien right

O'tkir and O'Brien have the same shape: a capital O, an apostrophe, a consonant. The letters alone can't tell an Uzbek letter from an Irish elision. #1214 settled the Cyrillic case by the vowel after the apostrophe. It left the Latin shape open (DEM'YAN → Dem'Yan, Kikuyu NG'ANG'A → Ng'Ang'A, Hawaiian KA'AHUMANU → Ka'Ahumanu, recorded in decisions/R4).

The question: is there a signal, or is this accepted?

  • A listed exception: o'g'li, qizi (the patronymic markers, already vocabulary), and the g'/o' names as masks.
  • An apostrophe after a letter other than an initial O/D/L: lowercase after it. That would fix Sa'Dullayev, Ng'Ang'A, Ka'Ahumanu and Dem'Yan, but not O'tkir or G'ofurov.
  • Under locales.TR_AZ only.
  • Accepted as it is, the U+02BB spelling being the remedy.

Measured population: opensanctions-parliaments' Uzbek chambers (uz_legislative_chamber, uz_senate) write these in mixed case already, so they measure what repair would do to an uppercased copy.

Activity

  1. self-assigned this
    on Nov 9, 2026
  2. added
    case-repair
    and removed on Nov 10, 2026
  3. derek73 commented on Nov 21, 2026

    @derek73
    OwnerAuthor

    Decided 2026-11-20: left open, not planned for now. This is a rule question, not a case mask.

    A case mask belongs to one listed word, and four of the five shapes above are open-ended names (O'tkir, G'ofurov, Sa'dullayev, Ng'ang'a), which no list can hold.

    The one fixed word, o'g'li, was tried on master 3ca31c2: adding it to a lexicon's capitalization_exceptions with the mask o'g'li leaves the repair unchanged, AZIZ SOBIRJON O'G'LI still giving O'G'Li. Why was not chased. Two likely reasons: the word is not vocabulary (the patronymic rule reads it by a pattern), and repair treats each piece between apostrophes on its own, so a whole-word mask is never asked. Whoever takes this up should settle that first.

    So what remains is the rule: of the options above, lower case after an apostrophe unless the word opens with O', D' or L' would fix Sa'dullayev, Ng'ang'a, Ka'ahumanu, Dem'yan and the second half of o'g'li, and leave O'tkir and G'ofurov as an accepted cost, the same shape as O'Brien and D'Arc.

    It reaches only a caller repairing names written in one case; no parse moves. The Uzbek chambers in the parliament lists already write these names in mixed case, so no population of capitals-only Uzbek names shows the need yet.

    🤖 Generated with Claude Code

  4. changed the title [-]Should case repair keep `O'tkir` and `o'g'li` lowercase after the apostrophe, as Uzbek writes them? (`O'TKIR SOBIROV` gives `O'Tkir`)[/-] [+]Keep the letter after an apostrophe lower case when repairing case (`SA'DULLAYEV ALISHER` gives `Sa'Dullayev`; Uzbek, Kikuyu, Hawaiian)[/+] on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

case-repairenhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions