Skip to content

Should Cheikh and Sultan stay given names under a strict Arabic or Malay choice? (Cheikh Mansour under strict ar gives title Cheikh, no family) #1463

Open

Description

@derek73

The question. A strict choice reads only the chosen languages' files. Where a word's vocabulary reading is in a chosen file and the name reading that gates it is in another, strict keeps the reading and drops the gate:

>>> ar = Locale(code="ar", lexicon=Lexicon.empty(), languages=("ar",))
>>> parser_for(ar).parse("Cheikh Mansour")
given='Cheikh', family='Mansour'
>>> parser_for(ar, strict=True).parse("Cheikh Mansour")
title='Cheikh', given='Mansour'

cheikh's given-name reading is in fr.toml. Sultan Mahmud under strict ms reads title Sultan, family Mahmud the same way, its name readings being in ar.toml and tr.toml. The vocabulary holds 20 such words in 35 word-and-language pairs (STRICT_UNGATED in tests/v2/test_reading_index.py). The RFC left each to be read and, where the language's names carry the word, given a name reading in that language's file.

Measured 2026-11-18 on master 3175314d. Strict against strict with the word's given reading restored (lexicon.add(word, kind="given")), on the ORCID records of the language's countries that hold the word, scored against the filed boxes. That isolates the gate from everything else strict does.

Strict choice Country sample Records holding a listed word Read differently without the gate
ar Tunisia, Morocco, Algeria, Egypt 1,302 70
ms Malaysia 360 3
it Italy 123 3
fil Philippines 105 2
pt, pt-BR Portugal, Brazil 2,535 1
nl, fr, ca, ga Netherlands, France, Spain, Ireland 822 0

The gate acts only where the word opens the name, so da stands in 1,606 Brazilian names and moves none.

62 of the 79 are ben opening a Maghrebi name, where the ungated reading is the right one (Ben Ahmed is the surname; the boxes agree with the gate only where the surname was typed into the given-names box). Two words lose names: cheikh under ar (8 records) and sultan under ms (1).

Proposed.

  1. Add a given reading for cheikh to ar.toml and for sultan to ms.toml, and take both off STRICT_UNGATED.
  2. Record the other pairs measured as wanted: under strict, the word is the particle.

Open:

  1. gd, hr, sk, sl and hi were not measured, nor marquis, marquise, tho, st and sushri, which the samples hold too rarely to say anything.
  2. A Chinese given name Bin opening a name in a Malaysian list reads as the family's particle under strict ms. Accept, as strict's single-origin premise?
  3. Should cheikh and sultan be read from the counts (tools/name_usage.py) before the readings are added?

Source: docs/design/vocabulary-model-rfc.md, "The derived markers under strict".

Activity

  1. self-assigned this
    on Nov 19, 2026
  2. added
    vocabularyFixed by a word-list entry: per-word vocabulary and language packs
    titlesTitles and honorifics (rules/H)
    locale-packsLocale packs and language choices (nameparser.locales)
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

locale-packsLocale packs and language choices (nameparser.locales)questiontitlesTitles and honorifics (rules/H)vocabularyFixed by a word-list entry: per-word vocabulary and language packs

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions