Skip to content

Read the Thai royal clan name before ณ อยุธยา as part of the surname, under a Thai pack (ปฐมพร อินทรางกูร ณ อยุธยา gives middle อินทรางกูร) #1333

Open

Description

@derek73

Thai royal clan surnames are written as the clan name, then ณ อยุธยา ("of Ayutthaya"): อินทรางกูร ณ อยุธยา, เทวกุล ณ อยุธยา. Since #1167, ณ joins its place name, but the clan name in front reads by position as a middle name. Measured on master after #1332:

  • ปฐมพร อินทรางกูร ณ อยุธยา gives given 'ปฐมพร', middle 'อินทรางกูร', family 'ณ อยุธยา'
  • หม่อมเจ้า สุดา เทวกุล ณ อยุธยา gives middle 'เทวกุล', family 'ณ อยุธยา'

In the 2019 Thai election candidates' data (ELECT's dataset), all 11 ณ อยุธยา surnames take this form; none is ณ อยุธยา alone. Among the 26 surnames that open with ณ and the 15 with ณ inside, the clan form is 13 of the 44 salutation-titled names the parser still misreads. ORCID's Thai records hold it too (ดร.ปฐมพร อินทรางกูร ณ อยุธยา).

Why not the default. Nothing in the text marks the clan name as surname. Reading it so rests on "Thai names have no middle names", which is a statistical claim about a language. AGENTS.md's design philosophy keeps those out of the defaults and in opt-in configuration (a Lexicon, a Policy, a locale pack).

Proposed rule shape (for a pack)

When: a name in Thai script, read under a Thai pack, has a word directly before a ณ particle run that closes the name.
Then: that word joins the family name (อินทรางกูร ณ อยุธยา), and the word before it is the given name.
Because: Thai names have a given name and a surname, middle names being rare, and the royal clans write the clan name before ณ อยุธยา as one surname.

Questions

  • Should this be a new locales.TH pack, or an existing switch? two_family_names (rules/O6) reads two family words, but it was built for Spanish double surnames and may not fit a particle run.
  • Is "a word before the closing ณ run" enough, or should it be limited to ณ อยุธยา, the royal clan form? Other ณ surnames (ณ นคร, ณ เชียงใหม่) are written alone in the data.
  • A Thai pack could also hold other Thai-only conventions later. What else belongs in it?

Activity

  1. added this to the 3.1 milestone on Nov 11, 2026
  2. self-assigned this
    on Nov 11, 2026
  3. added
    non-latin-script
    particles
    locale-packs
    on Nov 11, 2026
  4. removed this from the 3.1 milestone on Nov 14, 2026
  5. changed the title [-]Should a Thai pack read the royal clan name before `ณ อยุธยา` as part of the surname? (`ปฐมพร อินทรางกูร ณ อยุธยา` gives middle 'อินทรางกูร')[/-] [+]Read the Thai royal clan name before `ณ อยุธยา` as part of the surname, under a Thai pack (`ปฐมพร อินทรางกูร ณ อยุธยา` gives middle `อินทรางกูร`)[/+] 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

enhancementlocale-packsnon-latin-scriptparticles

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions