From 7e2782579cc99171e03f5d6c6807aea2b96986bf Mon Sep 17 00:00:00 2001 From: Derek Gulbranson Date: Thu, 19 Nov 2026 20:06:52 -0800 Subject: [PATCH] Read Arabic titles written short, and give Arabic script no initials (#1149) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Arabic script takes a row in the script-property table writing no initials, decided from usage against CLDR ar's patterns: ORCID's 6,291 Arabic-script names write every opening letter with a full stop as a title. د., أ., م., أ.د., أ.م.د., م.د. and م.م. are listed as titles in ar.toml (the alif without its hamza too), replacing the exclusion that refused د. as a letter swallowing initials, with the ranks Egypt's parliament writes (اللواء, لواء, المستشار, المستشارة, السفيرة) and الاستاذ. initials() gives nothing for an Arabic-script word and the name match reads its letter as a word, as for Thai and Burmese. rules/T8 counts an Arabic letter's combining marks, in its gate and on both sides of the stop, and a joiner between two letters of the name after it. The slash (د/) is measured and left open; the bare letter and the glued form follow from the listing. decisions/script-properties records the CLDR table, the lists, the moves and the costs. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 2 +- .../H2-leading-abbreviation-title.md | 2 +- .../decisions/R3-initials-honor-the-fold.md | 2 +- ...o-initials-in-a-script-that-writes-none.md | 2 + ...word-glued-to-the-next-at-its-full-stop.md | 2 +- docs/design/decisions/group-suggestion.md | 2 + docs/design/decisions/initials-repertoire.md | 2 +- docs/design/decisions/script-properties.md | 36 +- .../design/decisions/vocabulary-exclusions.md | 2 +- docs/design/rules/O6-two-family-names.md | 3 +- .../O8-letters-ending-a-name-as-its-family.md | 3 +- .../rules/R3-initials-honor-the-fold.md | 2 +- ...o-initials-in-a-script-that-writes-none.md | 5 +- ...word-glued-to-the-next-at-its-full-stop.md | 6 +- docs/languages.rst | 80 ++- docs/locales.rst | 3 +- docs/migrate.rst | 29 + docs/release_log.rst | 1 + nameparser/_pipeline/_vocab.py | 20 +- nameparser/_policy.py | 19 +- nameparser/config/_compiled.py | 46 ++ nameparser/config/_index.py | 16 + nameparser/vocab/ar.toml | 68 +- tests/v2/cases.py | 126 ++++ tests/v2/pipeline/test_vocab.py | 12 +- tests/v2/test_cases.py | 8 +- tests/v2/test_match.py | 9 + tests/v2/test_script_properties.py | 42 +- tools/differential/corpus_rules.jsonl | 5 + tools/differential/snapshot.jsonl | 671 +++++++++--------- 30 files changed, 842 insertions(+), 384 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index f8cae1e6f..10ae7838d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -348,7 +348,7 @@ The 2.0 rewrite landed as underscore-private modules beside the v1 code, which 2 **Cyrillic suffix regexes need `re.I` even when the pattern is suffix-only** — a Latin title-cased word (`Ivanovich`) keeps its suffix lowercase, so `re.I` seemed skippable; but an irregular Cyrillic suffix can be nearly the whole word (`ильич`), so title-casing capitalizes into the suffix itself (`Ильич`). `east_slavic_patronymic_cyrillic` (v1's name for what is `_vocab._EAST_SLAVIC_CYR` since 3.0 removed `config/regexes.py`, #1008) shipped without `re.I` on the Latin reasoning and silently failed on capitalized irregular forms — don't assume Latin's title-case safety transfers to Cyrillic. (#185) -**Suffix words vs the initial veto** — single-letter roman numeral suffixes (`i`, `v`) are suffix words but also initial-shaped, so `_vocab.is_suffix_strict` (v1's `is_suffix`) vetoes them through `_vocab.is_initial`. `_vocab.is_suffix_lenient` accepts suffix words without the veto and is only safe in unambiguous positions, after a comma (#136, #144). **The veto is Latin-only since #320**: `is_initial` ANDs the bare shape test (`is_initial_shaped`) with "not in a script that writes no initials", the rows of `_policy._SCRIPT_PROPERTIES` whose `writes_initials` is false (Han, Hangul, Hiragana, Katakana, and since #1256 the Myanmar and Thai scripts; decisions/script-properties), so the single-character CJK suffix words (씨, 様, 氏, 군, 양, 님, 殿) written with a period read as suffixes: `"김민준 씨."` gives suffix `씨.`. `V.`/`I.` still lose to the veto and still need the lenient test. +**Suffix words vs the initial veto** — single-letter roman numeral suffixes (`i`, `v`) are suffix words but also initial-shaped, so `_vocab.is_suffix_strict` (v1's `is_suffix`) vetoes them through `_vocab.is_initial`. `_vocab.is_suffix_lenient` accepts suffix words without the veto and is only safe in unambiguous positions, after a comma (#136, #144). **The veto is Latin-only since #320**: `is_initial` ANDs the bare shape test (`is_initial_shaped`) with "not in a script that writes no initials", the rows of `_policy._SCRIPT_PROPERTIES` whose `writes_initials` is false (Han, Hangul, Hiragana, Katakana, since #1256 the Myanmar and Thai scripts, and since #1149 the Arabic script, whose `د.` and `م.` are titles; decisions/script-properties), so the single-character CJK suffix words (씨, 様, 氏, 군, 양, 님, 殿) written with a period read as suffixes: `"김민준 씨."` gives suffix `씨.`. `V.`/`I.` still lose to the veto and still need the lenient test. **Comparing against v1 needs `PYTHONSAFEPATH=1` AND a directory outside the worktree** — `uv run --isolated --no-project --with 'nameparser==1.4.0'` still puts the checkout's `nameparser/` ahead of the pinned wheel on `sys.path`, so the "v1" side silently imports the branch and every comparison reports parity. Run it as `cd && PYTHONSAFEPATH=1 uv run --isolated --no-project --with 'nameparser==1.4.0' python -c "..."`. This produces false confidence rather than an error, so it invalidates results without ever looking wrong. **A `tests/v2/cases.py` row's `parity` means 1.4.0, and no test checks it** -- the table runs every row against the tree, so a row labelled `parity` that only matches master passes for good, and `parity` is the dataclass default, so a row written with no `classification` claims it. #614 added eight such rows, compared against master; #620 found them by running the wheel this way and relabelled each with the change its reading came from, found by `git bisect run` in a scratch worktree (`git worktree add --detach`, never this one). 3.1's prose sweep found 72 more, 27 of them #1395's `md_*` rows, and the check is a kept tool since: `uv run python tools/differential/parity_check.py` reads every default-config `parity` row with the 1.4.0 wheel, hardened as `compare.py` is, and lists each row 1.4.0 reads otherwise with its fields (`--check` exits 1 on one). It needs the network or uv's cache, so no CI job runs it, and it skips the rows carrying a policy or a locale, whose `parity` stays unchecked. Run it after adding a row on the default, and relabel what it lists the way #620 did. When bisecting, run Python with `-B` and `git clean -fdx` the scratch tree at each step: two checkouts within one second leave a stale `.pyc` whose source has the same mtime and size, and in 3.1's relabel one answered for two rows, naming a commit whose parent already read them. diff --git a/docs/design/decisions/H2-leading-abbreviation-title.md b/docs/design/decisions/H2-leading-abbreviation-title.md index 4bd991ff0..7e5b27553 100644 --- a/docs/design/decisions/H2-leading-abbreviation-title.md +++ b/docs/design/decisions/H2-leading-abbreviation-title.md @@ -5,7 +5,7 @@ - An abbreviation of two or more letters ending in its one period, opening the part that carries the given name (the whole name, or the part after a family comma), is a title even unlisted and even where it is suffix vocabulary, and a single-letter initial is not: `Insp. Jane Morse` → title 'Insp.', `Morse, Det. Insp. Jane` → title 'Det. Insp.', `Esq. Smith` → title 'Esq.', `J. Smith` → given 'J.' — 2026-06-30 #288. - The shape is an unbroken run of letters, so an unlisted abugida abbreviation written with a vowel sign stays a name word and only vocabulary recognizes it — 2026-06-30 #288 (the run was the whole cause until 2026-11-08 #1191, below, found the word with no sign). - The shape declines a period-marked word carrying a letter of the ten Brahmic scripts from Devanagari to Sinhala (U+0900 to U+0DFF), an Except of rules/H2, so a Latin initial spelled there with no vowel sign is no title: `एम. एस. वर्मा` → given 'एम.', middle 'एस.' — 2026-11-08 #1191. -- The shape declines a period-marked word carrying a script that writes no period abbreviations (Han, kana, hangul; Thai and Burmese write no initials but are not among them, decisions/script-properties): `田中. 太郎` → family '田中.', where `Smith. John` keeps title 'Smith.' — 2026-09-10. +- The shape declines a period-marked word carrying a script that writes no period abbreviations (Han, kana, hangul; Thai, Burmese and the Arabic script write no initials but are not among them, decisions/script-properties): `田中. 太郎` → family '田中.', where `Smith. John` keeps title 'Smith.' — 2026-09-10. - C13 wins for a credential opening the part after a family comma (`Smith, Esq. John` → suffix 'Esq. John'), and the shape still reads a title there for a word that starts no S8 run (`Smith, Insp. John`, `Smith, Do. John` → title) — 2026-10-20 #761; its `Smith, Ma. John` example moved to the given name on 2026-10-26 #789. - A given name written short outranks the shape: a word the vocabulary lists with a `given` reading whose `same_as` is the full name, period-marked where the shape would fire, is the given name and the name reads as it would with the full name there (`Chas. Smith` → given 'Chas.', `Mrs Ma. Liza Cruz` → title 'Mrs', given 'Ma.'). The shipped set is the traditional English abbreviations, the Filipino `ma` and `jo`, since #1115 Muhammad, Achmad and Francisco written short (`mohd`, `mhd`, `muh`, `moh`, `moch`, `ach`, `fco`; decisions/H6's 2026-11-06 entry), Sheikh written short (`sk`, #1129) and since #1383 `md`; a listed title still wins — 2026-10-26 #789. - A transliteration digraph declines the shape, an Except of rules/H2: the Latin spellings of one Cyrillic letter that are no title in any corpus read, `Yu`, `Ya`, `Ye`, `Yo`, `Zh`, `Kh`, `Shch` and `Dzh`, in any case, so `Yu. A. Chibrikova` → given 'Yu.', middle 'A.', as `Ю. А. Чибрикова` reads; `Ts`, `Ch` and `Sh`, each also a title written short, keep the shape, and a digraph of another alphabet or a Latin given name written short (`Th.`) is outside the set — 2026-11-09 #1136. diff --git a/docs/design/decisions/R3-initials-honor-the-fold.md b/docs/design/decisions/R3-initials-honor-the-fold.md index 514fd9479..843ded4c4 100644 --- a/docs/design/decisions/R3-initials-honor-the-fold.md +++ b/docs/design/decisions/R3-initials-honor-the-fold.md @@ -6,7 +6,7 @@ - The fold partition applies to every role the view renders, though only the family can carry the tag today, pinned from a hand-built name with two tokens per role; P6's half has no rules/R3 example line, its one witness `der, y van` having a contested parse, and is pinned in a unit test — 2026-08-30 #408. - A connective contributes nothing where it is joining, a part holding another name word for it to join, the part's working particles set aside, and initials like any name word where its part holds nothing else; one rule for every group, asked of the whole part and never by a word count (`John and Jane Smith` → 'J. J. S.', `Juan y Garcia` → 'J. y. G.', `Juan Velasquez y Garcia` → 'J. V. G.', `Jon Dough and` → 'J. D.', `Juan de y` → 'J. y.') — 2026-09-20 #461. - The fact is decided once per part and recorded on the token as UNJOINED_CONJUNCTION_TAG, a marker separate from UNJOINED_TAG so `family_base`, `family_particles` and case repair do not move; the core view reads it, and `Parser.revise` recomputes both marks (`revise(n, family='de y')` → 'J. y.' for `Juan Smith`) — 2026-09-20 #461. -- The given group's answer is a deliberate 1.4.0 parity break (1.4.0 'J a J. S.' for `John and Jane Smith`), and a lone connective's initial restores 1.4.0's own answer (`JUAN Y GARCIA` → 'J. Y. G.', `محمد و علي` → 'م. و. ع.') — 2026-09-20 #461. +- The given group's answer is a deliberate 1.4.0 parity break (1.4.0 'J a J. S.' for `John and Jane Smith`), and a lone connective's initial restores 1.4.0's own answer (`JUAN Y GARCIA` → 'J. Y. G.'; `محمد و علي` gave 'م. و. ع.' until #1149 gave the Arabic script no initials, decisions/script-properties) — 2026-09-20 #461. - An initial is the shortest start of its word that composes to the composed word's first character, written in the form the writer used (`e\u0301mile zola` → 'e\u0301. z.'), a first code point excluded from composition kept as written (`\u095bाकिर` → '\u095b.', its nukta kept); composing the initial to NFC and taking the first letter with its following marks were declined — 2026-10-02 #585. - A word is a particle only where its position makes it one, so a listed particle standing as a name word initials (`Nguyen, Van Le` → 'V. L. N.', `Anh Do` → 'A. D.') — 2026-10-19 (Derek), #761. diff --git a/docs/design/decisions/R7-no-initials-in-a-script-that-writes-none.md b/docs/design/decisions/R7-no-initials-in-a-script-that-writes-none.md index 10f88b363..3b7f14211 100644 --- a/docs/design/decisions/R7-no-initials-in-a-script-that-writes-none.md +++ b/docs/design/decisions/R7-no-initials-in-a-script-that-writes-none.md @@ -3,6 +3,7 @@ ## Standing - A word whose first letter is in Han, Hangul or kana, and since 2026-11-12 the Myanmar and Thai scripts (the rows of `_policy._SCRIPT_PROPERTIES` that write no initials, which the parse's initial veto reads, #320, decisions/script-properties) contributes nothing to `initials()`, the test asked of the letter's composed spelling — 2026-10-28 #754 (Derek). +- The Arabic script joins those rows: a word whose first letter is in it contributes nothing to `initials()` (decisions/script-properties) — 2026-11-19 #1149. - A word opening with conjoining jamo that compose to no syllable gives no initial, the jamo being hangul: `ᄒᆞᆫ 김` gives '' — 2026-11-05 #1087 - A word opening with a letter of the Myanmar script gives no initial: `ကြည် ကြည် ဌေး` gives '' — 2026-11-12 #1234 (decisions/script-properties). - A word opening with a Thai letter gives no initial: `สมชาย ใจดี` gives '' — 2026-11-12 #1256 (decisions/script-properties). @@ -15,3 +16,4 @@ Open: none in this file. - 2026-11-05 #1087 — A JAMO THAT COMPOSES TO NOTHING WRITES NO INITIAL. The script table's HANGUL took in the conjoining jamo (decisions/nfd-shapes, same date), so a word opening with archaic or lone jamo is hangul to this view: `ᄒᆞᆫ 김` moved from 'ᄒ.' to '', `Mary ᄀ. Smith` from 'M. ᄀ. S.' to 'M. S.' and `John Smith, ꥠᅡ` from 'ꥠ. J. S.' to 'J. S.' (measured 2026-11-05 against 4109b026). A decomposed modern syllable gave none before, the letter being composed first. The compatibility jamo still initial (`ㄱㄴ 김` gives 'ㄱ.'). - 2026-11-12 #1234 — BURMESE WRITES NO INITIALS. The script-property table's Myanmar row (decisions/script-properties, which holds the evidence and the moves) adds Burmese to the rule: `ကြည် ကြည် ဌေး` gave 'က. က. ဌ.' from 1.4.0 through 3.0.1 and gives ''. The rule's Because no longer says the parse reads no period after such a word as an abbreviation: that is H2's own column, which the Myanmar row does not set. - 2026-11-12 #1256 — THAI WRITES NO INITIALS. The script-property table's Thai row (decisions/script-properties, which holds the count and the moves) adds Thai to the rule, as the 2026-08-02 #320 measurement (`th` 0 of 20) had said it belonged once it earned a row: `สมชาย ใจดี` gave 'ส. ใ.' and gives ''. +- 2026-11-19 #1149 — THE ARABIC SCRIPT WRITES NO INITIALS. The Arabic script takes a row of `_policy._SCRIPT_PROPERTIES` that writes no initials, so a word whose first letter is in it contributes nothing to `initials()`, where 1.4.0 through 3.1.0 gave its first letter; the measurement, the CLDR table it was decided against and the cost are decisions/script-properties' entry of the same date. diff --git a/docs/design/decisions/T8-word-glued-to-the-next-at-its-full-stop.md b/docs/design/decisions/T8-word-glued-to-the-next-at-its-full-stop.md index ce18a6b30..a1b8f6d3b 100644 --- a/docs/design/decisions/T8-word-glued-to-the-next-at-its-full-stop.md +++ b/docs/design/decisions/T8-word-glued-to-the-next-at-its-full-stop.md @@ -12,7 +12,7 @@ Elsewhere: which words divide at all, and what a divided word reads as, decisions/period-joined-words' 2026-11-09 #1255 entries; a run of single letters, which stays one word, decisions/T7. Open: [#1306](https://github.com/derek73/python-nameparser/issues/1306), which field a Mongolian glued initial takes under the default order or a Mongolian choice (moved from #1235, which this division closed): the pack question the spaced `Ц. Сандаг-Очир` already raises. -Open: a chunk, or a name after the stop, that writes a vowel sign other than Thai's, a name of plain letters dividing in any script (`ড.করম খান`) (`डा.राम शर्मा` keeps title 'डा.राम', where `डा. राम शर्मा` reads title 'डा.', given 'राम'; `ড.রহিম` keeps title 'ড.রহিম', the listed `ড` found but রহিম's U+09BF not, #1166): the shape's letter class counts no such mark (decisions/nfd-shapes), and #1166 added Thai's on the name side alone, so no division is found there, moved here from decisions/period-joined-words' Open line. The local corpora hold almost no such title (nepal-candidates' glued Devanagari words are runs of initials, `के.सी.`, which stay whole anyway, and `मो.`, #1178's), so no issue is filed. +Open: a chunk, or a name after the stop, that writes a vowel sign other than Thai's or a mark of the Arabic script's (counted since #1149, in the gate as on both sides of the stop: `أ.محمد` and `أ.د.أحمد` divide in NFD as in NFC; a zero-width joiner or non-joiner between two letters of the name is counted too, one right after the stop is not), a name of plain letters dividing in any script (`ড.করম খান`) (`डा.राम शर्मा` keeps title 'डा.राम', where `डा. राम शर्मा` reads title 'डा.', given 'राम'; `ড.রহিম` keeps title 'ড.রহিম', the listed `ড` found but রহিম's U+09BF not, #1166): the shape's letter class counts no such mark (decisions/nfd-shapes), and #1166 added Thai's on the name side alone, so no division is found there, moved here from decisions/period-joined-words' Open line. The local corpora hold almost no such title (nepal-candidates' glued Devanagari words are runs of initials, `के.सी.`, which stay whole anyway, and `मो.`, #1178's), so no issue is filed. Open: a word glued at a full stop other than the ASCII one, in Latin names, as the ideographic stop in `Wenzhao Zhong, Ph。D` (one name in the local corpora, 2026-11-10). The fullwidth stop between Han names was #1312, which rules/T3 reads as the transcription dot. Open: [#1311](https://github.com/derek73/python-nameparser/issues/1311), a glued word after a family comma, the given part the comma names (`ARTHUR, L.MICHAEL`, 111 in fec-individuals), which the division would reach only once the comma's decision is asked first. Open: [#1313](https://github.com/derek73/python-nameparser/issues/1313), a particle glued to its surname at its full stop (`Alaa A. El.Baz` reads suffix 'El.Baz'), which the division does not read as a chunk. diff --git a/docs/design/decisions/group-suggestion.md b/docs/design/decisions/group-suggestion.md index 4445f00a7..93b9e1658 100644 --- a/docs/design/decisions/group-suggestion.md +++ b/docs/design/decisions/group-suggestion.md @@ -26,6 +26,7 @@ - A capitals word of two or three letters ending a name that holds a lowercase letter casts no surname vote of its own, and where it is itself a listed surname (`Zhou NG`) the name casts no surname vote; otherwise the word in front votes as before; its capitals vote stays silent — 2026-11-14 #1397. - That rule's reach as implemented, the opening word standing alone: a run of capitals words in front votes as before, whatever its first word (`DE SOUZA Maria`) — 2026-11-14 #1355. - A name word in a script that writes no initials followed by a letter of it casts no trailing-initial vote, since no byline writes such a name before an initial, as rules/T5 and the order report read it: a group of Thai or Burmese names, each a word and a letter, suggests nothing — 2026-11-12 #1256. +- A group of Arabic-script names, each a word and a letter, casts no trailing-initial vote either, the Arabic script writing no initials (decisions/script-properties) — 2026-11-19 #1149. - A caller with a large list is told a sample of a few hundred names from each source is enough: nearly every kind of list measured is read right from 200 names, a longer list is rarely better (bylines written given first under a family-first base are the one kind measured that kept improving), and since the 1% floor no list measured in its base's own order is read worse at 2,000 names — 2026-11-16 #1442, 2026-11-16 ORDER FLOOR. Open: the other three settings count their shares among the names with evidence on them, never the group, so a few stray names decide `patronymic_rules`, `initials_as_family` or `capitals_as_family` in a long silent list (2026-11-16 ORDER FLOOR, its bullet on the other settings); no measured population moves on any of them, and no issue is filed. A group gate for the short capitals words, under which one votes where another name of the list writes a longer capitals word at the same end, measured and not taken for 3.1 (2026-11-14 #1355, its Declined bullet), to weigh beside #1402, which was decided 2026-11-19, left as it reads (decisions/O9). For a list mixing East Slavic and Turkic patronymics (uz_senate, kz_senate), suggesting both rules, and reading the Kazakh `-uly` and `-kyzy` endings as a Turkic signal, are not taken for 3.1 and not decided against (2026-11-15 #1356, its Not taken bullet). `_MIN_PATRONYMIC_VOTES`, five names, was set to keep small Russian groups written family first from moving a family-first base to given-first (2026-11-10 THRESHOLDS); since 2026-11-15 #1356 a `FAMILY_FIRST` base keeps its order on such a group, and that entry measured what relaxing the count did then: no same-order cell moved, and groups written given-first moved a family-first base sooner; since 2026-11-19 #1447 two names written given first decide given-first by their position votes without the rule, so that measurement predates the vote and is not re-taken. The threshold is unchanged and has no issue. #1308, the tracking issue, is closed; its other open item, the given names the given-name table's family-share filter drops, was #1357, settled for `John`, `David` and `Robert` by 2026-11-15 #1357, which leaves `James`, `Paul`, `George`, `Charles`, `Thomas` and `Martin` out. #1364's ORCID surname table at a given-box share of 12%, which helps Portuguese and Brazilian lists written given first and costs those written family first at 10 and 20 names, and the census table for English it held, are open (2026-11-19 #1364, its Declined and Open bullets; 2026-11-15 #1357 holds what a gate measured for the census table); so is the cost that table's `pv-listed-given` shows, English given names ORCID's holders rarely type as one (`Cooper`, `Burke`). Not measured, and without an issue: the table's 20-use floor (`MIN_USES`), and a family share between 10% and 15%. @@ -538,3 +539,4 @@ Open: the other three settings count their shares among the names with evidence - Recorded, found by the reviews of the branch, the first three pinned by tests: a name ending in a patronymic and an initial (`Zzyvan Petrovich Q.`) is now contested, its position voting given-first against the trailing initial, so it no longer counts as a name ending in initials: six such names read right under every base (the rule, given-first, the initial the family) where master read the given name as the family, but three bylines beside three such names fall under the trailing-initial signal's 60% and decide nothing, where master decided family-first; a list of four East Slavic names and three Turkic ones decides no rule (4 of 7), and the East Slavic names' positions decide the order alone, family-first where they stand last (which reads both kinds) and given-first where they stand in the middle beside Turkic names written family first under a `FAMILY_FIRST` base, which then reads each Turkic marker as the family (`Mamedov Ali Huseyn oglu`, family `oglu`; the mixed list is the open question of 2026-11-15 #1356); and a `NameEvidence` or `Suggestion` holding the new member does not unpickle under 3.1, an enum value it does not know (measured by the review, held by no test here, the older release being outside the tree), for the release's pickle-break bullet; a test holds that one round-trips under this release. - Declined: a guard against the `-ovich` surname, since no real list measured has a same-order row under 95% for it (above). Keeping the given-first order with the rule for lists written family first under a given-first base, as #1356 did: it misreads every name of two words in such a list, and the parliament lists read better without it. - For #1452: by the rule above, the surname signal's vote on `two_family_names` (a listed surname second-to-last) is a `Signal` member of its own, not a second value of `SURNAME`; `_order_ends` and `_disagrees` take any signal other than `PATRONYMIC` for an order signal, so a member voting on another setting needs its own branch there and in `_setting_of`, as `PATRONYMIC` has. +- 2026-11-19 #1149 — ARABIC LETTERS ARE NO INITIALS TO THE TRAILING-INITIAL VOTE. The script-property table's Arabic row writes no initials (decisions/script-properties), and the vote reads `_vocab.is_initial`, so five Arabic-script names each a word and a letter, which suggested `name_order=FAMILY_FIRST` by five trailing-initial votes on master, suggest nothing. `tools/differential/suggest_measure.py --base ` moves no cell of its populations, which hold no such group. diff --git a/docs/design/decisions/initials-repertoire.md b/docs/design/decisions/initials-repertoire.md index d72dffd87..60e6553bf 100644 --- a/docs/design/decisions/initials-repertoire.md +++ b/docs/design/decisions/initials-repertoire.md @@ -3,7 +3,7 @@ ## Standing - Whether a script has initials is decided from its writing convention and not from the script's typology, read where CLDR states it from the locale-authored name patterns, so Han, Hangul, Hiragana and Katakana are scripts with none (`ja` and `ko` author 29 and 32 patterns and use an initial in none, where `ru` uses one in 7 of 39); Thai is one since 2026-11-12 by the same count (`th` 0 of 20), and the Myanmar script by its convention, CLDR's `my` block being a copy of `en`'s (decisions/script-properties); each a row of `_policy._SCRIPT_PROPERTIES` (decisions/script-properties) — 2026-08-02 #320; the rows keyed by a private name rather than enumerated by `Script` member since 2026-11-12 #1256. -- A character of one of those scripts with a period is no initial, so `김민준 씨.` reads suffix '씨.' and `김민준, 씨.` family '김민준', suffix '씨.', while Cyrillic, Greek, Arabic and Hebrew initials stay initials (`Іван Й. Петренко` reads middle 'Й.') — 2026-08-02 #320. +- A character of one of those scripts with a period is no initial, so `김민준 씨.` reads suffix '씨.' and `김민준, 씨.` family '김민준', suffix '씨.', while Cyrillic, Greek, Arabic and Hebrew initials stay initials (`Іван Й. Петренко` reads middle 'Й.'); Arabic's no longer, since decisions/script-properties' 2026-11-19 #1149 entry — 2026-08-02 #320. - `is_initial` is not narrowed to `[A-Za-z]`, a narrowing declined on the measurement that `Й.` would regress to the #267 Ukrainian-conjunction misreading and the `initial` tag would be stripped from every non-Latin initial — 2026-08-02 #320. - Before a CLDR block is counted, it is checked against `en`'s, a copied block stating nothing about the locale (`my`'s is `en`'s, decisions/script-properties) — 2026-11-12 #1256. diff --git a/docs/design/decisions/script-properties.md b/docs/design/decisions/script-properties.md index 29ad5acc0..479629d85 100644 --- a/docs/design/decisions/script-properties.md +++ b/docs/design/decisions/script-properties.md @@ -6,12 +6,15 @@ - The rows are keyed by a private name, never by the public `Script` enum, whose membership says what a caller can key a setting on and settles nothing about case or initials — 2026-11-12 #1256, the table. - A script with no row has case where Unicode gives it one, writes initials and period abbreviations, and spells no Latin initial out: no column selects its letters, so every reader answers as it does for Latin — 2026-11-12 #1256, the table. - "Writes initials" (rules/T5's veto, rules/R7's `initials()`, the name match, the order report) and "writes period abbreviations" (rules/H2's shape, rules/S3's split and joined shapes) are two columns, which the four East Asian rows answer alike — 2026-11-12 #1256, the table. -- Whether a script writes initials is decided by its writing convention, read where CLDR states one from the locale-authored name patterns that produce an initial, after checking that the locale's block is not a copy of `en`'s; a locale whose `initialPattern` is `{0}`, no period, writes the character itself and no initial — 2026-11-12 #1256, the table. +- Whether a script writes initials is decided by its writing convention, read where CLDR states one from the locale-authored name patterns that produce an initial, after checking that the locale's block is not a copy of `en`'s; a locale whose `initialPattern` is `{0}`, no period, writes the character itself and no initial — 2026-11-12 #1256, the table. Where the name lists measured contradict CLDR's authored patterns, measured usage decides: CLDR's patterns say how a name may be formatted, and its sample names are made up, not written by the people they name — 2026-11-19 #1149. - The answer #1191 gave (the Brahmic title-shape veto) is a row, and so is #1223's (Mtavruli repairs to Mkhedruli, read from the Georgian row); #1214 (the Cyrillic apostrophe) and #1224 (a particle opening a hyphenated word) stay in decisions/R4, being questions of a language's spelling that no script column could hold, as the Dutch `IJ` (#1242) is — 2026-11-12 #1256, the table. - Georgian, Mkhedruli and Mtavruli (U+10D0–10FF, U+1C90–1CBF), has no case for the name-case contrast, read alike by the parse's one-case fact (decisions/S6), the credential lean, the case-repair gate (decisions/R5) and S8's name word behind a credential, and rules/R4's repair writes its first letter in its lower case from the same row; the ecclesiastical Asomtavruli and Nuskhuri, which write initial capitals, are not in the row — 2026-11-12 #1222. - A Georgian dotted run of single letters is a run of initials, as before: rules/T7's and rules/R3's lower-case run read Unicode's case, Georgian writing its initials in its one case — 2026-11-12 #1222. - The Myanmar script writes no initials, decided from the writing convention by [#1256's amendment of 2026-11-12](https://github.com/derek73/python-nameparser/issues/1256#issuecomment-6847110959), CLDR's `my` block being `en`'s (every one of its 42 patterns equal to `en`'s once spaces and commas are removed); whether it writes period abbreviations is not decided and reads as before — 2026-11-12 #1234. - The Thai script writes no initials, decided by the CLDR count (`th` 0 of 20 locale-authored patterns produce one) in the same amendment, and writes period abbreviations, so its titles and degrees written short read as before — 2026-11-12 #1256, Thai. +- The Arabic script (U+0600–06FF, U+0750–077F, U+0870–08FF, U+FB50–FDFF, U+FE70–FEFC, U+10EC0–10EFF) writes no initials and writes period abbreviations: the letters a title is written short with (`د.`, `أ.`, `م.`) are listed as titles, an unlisted letter with a full stop being a name word (`ح. علي`), and `initials()` and the name match give no initial for a word in it. Decided from usage against CLDR's `ar` patterns; the row covers Persian and Urdu too, a row being per script — 2026-11-19 #1149. + +Open: Persian and Urdu. The Arabic row covers them because a row is per script, on thin evidence for both: the Wikidata native corpus holds 30 Persian and 32 Urdu names, none with an initial, CLDR's `fa` block is mostly `en`'s (6 of its 7 patterns with an initial equal) and `ur`'s half its own (4 of 8), and no measured list of either language's names written by their bearers has been read — #1149. Open: [#1273](https://github.com/derek73/python-nameparser/issues/1273) — what an initial looks like in the Brahmic scripts, the brahmic row's own question (`initials()` gives a vowel sign's base, not the syllable written). [#1274](https://github.com/derek73/python-nameparser/issues/1274) — the Uzbek apostrophe in case repair, a language question beside #1214. [#1242](https://github.com/derek73/python-nameparser/issues/1242) — the Dutch `IJ`, a language question, out of the table by the decision. @@ -39,12 +42,39 @@ Recompute recipe for the CLDR column, as run 2026-11-12 on unicode-org/cldr main The ja, ko, th and ru counts are 2026-08-02's (#320) too. - 2026-11-12 #1222 — GEORGIAN HAS NO CASE FOR THE CONTRAST. Decided on #1256 that day. The row covers Mkhedruli and the Mtavruli block, not Asomtavruli (U+10A0–10CF) or Nuskhuri (U+2D00–2D2F), a bicameral pair whose capitals do open words. Readings moved, each the reading of the Arabic name of the same shape: `ჯეკ MA` family 'MA' (2.4.0 through 3.0.1 suffix 'MA', family ''; 1.4.0 through 2.3.0 family 'MA'), `ჯეკ, MA` given 'MA', family 'ჯეკ', the family-comma reading, as `محمد, MA` reads (both with 1.4.0 and 2.3.0 too, checked against the wheels on 2026-11-12, where 2.4.0 through 3.0.1 read `ჯეკ, MA` family 'ჯეკ', suffix 'MA'), each with a `suffix-or-name` report, and a report added where the count now decides beside a name word (`ჯეკ ბერიძე MA`, `ბერიძე, ჯეკ MA`, `ჯეკ, ნინო MA`); `capitalized()` repairs a Mtavruli word or first letter beside Mkhedruli and a Latin word in capitals beside Georgian (`ნინო SMITH` → 'ნინო Smith'), decisions/R4's 2026-11-12 entry. In the committed snapshot the one entry that moves is `Ნინო Ბურჯანაძე`, which `capitalized()` now writes 'ნინო ბურჯანაძე' as `force=True` did; the rules examples add six entries. rules/R4's Mtavruli repair (#1223) reads the row: a first letter in it is written in its lower case, which over every codepoint (2026-11-12, Python 3.11 and 3.15) changes the same 46 Mtavruli letters #1223's test of a lower case title-casing to itself reached. Measured by sweeping each comma shape (none, a full name before the comma, one word before, nothing before), the three `name_order` values, every policy switch (`capitals_as_family`, `initials_as_family`, `middle_as_family`, `two_family_names`, `two_given_names`, `lone_name_word`, the two `unlisted_*`), NFC and NFD, against master 161ebd28. - - THE CODE REVIEW'S FOUR SITES. The code review found four more questions about the name's case still asking Unicode. Two, rules/S8's name word behind a credential or generation word (`_pieces._name_word_behind`, `_pieces.generation_word_before_a_name`), read the row since: S8's own clause makes "a word of a script with no case" a name word, so `ჯეკ ბერიძე Jr. ნინო` reads middle 'ბერიძე Jr.', family 'ნინო' (master suffix 'Jr. ნინო'), and `ჯეკ ბერიძე MA ნინო`, `ჯეკ ბერიძე Phd ნინო`, `მ. ბერიძე Jr. ნინო` likewise, each as its Arabic twin: a gain. The other two, rules/T7's lower-case run of initials in `_assemble` and rules/R3's in `_render`'s `initials()`, read the row in one commit and went back to Unicode in the next, the design-docs review having found the reading lost: a Georgian dotted run (`ნ.ბ. ბერიძე`, `ბერიძე, ა.ბ.`) stopped splitting into initials. That run asks whether a dotted run of single letters is initials, which a script that writes initials answers yes in whatever case it has, not what the name's case tells; so `ნ.ბ. ბერიძე` reads given 'ნ.', middle 'ბ.' and `j.r. ბერიძე` given 'j.', middle 'r.', as on master. The Arabic `ا.ب. علي` reads one word on both trees, so the twin test, which reads Georgian against Arabic, holds only the shapes the name's case decides (sixteen, eleven of which master reads apart, `tests/v2/test_script_properties.py`'s recorded control), and the dotted runs have tests of their own. + - (Since the 2026-11-19 #1149 entry, `ا`, `م` and `د` are listed titles and an Arabic letter is no initial, so an Arabic dotted run holding one reads as a title: `محمد علي ا.ب.` → title 'ا.ب.', `ا.ب. علي` → title 'ا.ب.'; the Arabic readings below are master's of 2026-11-12.) THE CODE REVIEW'S FOUR SITES. The code review found four more questions about the name's case still asking Unicode. Two, rules/S8's name word behind a credential or generation word (`_pieces._name_word_behind`, `_pieces.generation_word_before_a_name`), read the row since: S8's own clause makes "a word of a script with no case" a name word, so `ჯეკ ბერიძე Jr. ნინო` reads middle 'ბერიძე Jr.', family 'ნინო' (master suffix 'Jr. ნინო'), and `ჯეკ ბერიძე MA ნინო`, `ჯეკ ბერიძე Phd ნინო`, `მ. ბერიძე Jr. ნინო` likewise, each as its Arabic twin: a gain. The other two, rules/T7's lower-case run of initials in `_assemble` and rules/R3's in `_render`'s `initials()`, read the row in one commit and went back to Unicode in the next, the design-docs review having found the reading lost: a Georgian dotted run (`ნ.ბ. ბერიძე`, `ბერიძე, ა.ბ.`) stopped splitting into initials. That run asks whether a dotted run of single letters is initials, which a script that writes initials answers yes in whatever case it has, not what the name's case tells; so `ნ.ბ. ბერიძე` reads given 'ნ.', middle 'ბ.' and `j.r. ბერიძე` given 'j.', middle 'r.', as on master. The Arabic `ا.ب. علي` reads one word on both trees, so the twin test, which reads Georgian against Arabic, holds only the shapes the name's case decides (sixteen, eleven of which master reads apart, `tests/v2/test_script_properties.py`'s recorded control), and the dotted runs have tests of their own. - ACCEPTED, the kept S8 sites and the restored T7 run within one parse (the independent review of 2026-11-13): S8 reads the Latin word behind a Georgian name as a name word, so T7's test of capitals among the name words sees its capital and leaves the run whole, `ნ.ბ. ბერიძე Jr. ნინო` reading given 'ნ.ბ.', middle 'ბერიძე Jr.', family 'ნინო' where master read given 'ნ.', middle 'ბ.', family 'ბერიძე', suffix 'Jr. ნინო' (`MA` the same), and `ნ.ბ. MA` keeping its run whole now that `MA` is the family; master already reads a run whole beside a Hebrew or Arabic word (`ნ.ბ. בן ბერიძე`). rules/T7's Accepted bullet. Unwritten shapes; nothing built. - ACCEPTED, a listed Georgian salutation behind a credential is the family: `ჯეკ ბერიძე MA ბატონი` reads middle 'ბერიძე MA', family 'ბატონი' (master suffix 'MA', title 'ბატონი'), and `ქალბატონი` and `ქ-ნი` alike; under `FAMILY_FIRST_GIVEN_LAST` `ჯეკ ბერიძე Jr ნინო ბატონი` gives given 'ბატონი'. The salutation is a name word behind the credential to S8, as its Hebrew and Latin Title-case twins read on master (`משה כהן MA מר`, `Jack Smith MA Mr`: family 'מר', 'Mr'); behind `Jr.` it stays the title (`ჯეკ ბერიძე Jr. ბატონი`). rules/S8's Accepted bullet. - ACCEPTED, shared with every caseless script: read against `jrc-names` (`snapshot.py --local jrc-names --base` master 161ebd28, 2026-11-12, the whole branch: 565 spellings move, 561 in `initials()` only, 548 of them Thai and 13 Burmese, and the four Georgian ones here; `nepal-candidates` and `opensanctions-parliaments` move none), a Georgian name with a roman numeral among its name words is now one case to R5, so `ალექსი II მოსკოვის პატრიარქი`.capitalized() gives 'ალექსი Ii მოსკოვის პატრიარქი', and `პეტრე I რუსეთი` reports `conjunction-or-initial`, both as the Arabic names of the same shape already did on master (`محمد II علي حسن` → 'محمد Ii علي حسن'). The numeral's repair in a caseless name is a defect of its own, not this row's. - - ACCEPTED, word-level, each as on master: a test of one word's own writing still reads Unicode's case, a Mtavruli word being a word in capitals and a Mkhedruli word one in lower case. rules/O9 reads `ᲑᲣᲠᲯᲐᲜᲐᲫᲔ ნინო` under `capitals_as_family` as family 'ᲑᲣᲠᲯᲐᲜᲐᲫᲔ', so the contrast being caseless loses no O9 reading, and `DR ჯეკ ბერიძე` under it as family 'DR'; `ჯეკ ბერიძე MA` under it keeps family 'MA', where `محمد علي MA` reads suffix 'MA'. rules/S3's paired initials "in a script that writes capitals" (`_vocab.is_cased_paired_initials`, also read by S12's merge) take a Georgian pair, so `ნინო ბერიძე ნ.ბ.` reads family 'ნ.ბ.', where `محمد علي ا.ب.` reads suffix 'ا.ب.': right for Georgian, whose question there is nearer "writes initials" than case, a pair of letters in a script that writes initials being a name's initials; left on Unicode, decided. `_vocab._dotted_titles`' docstring says "a caseless script writes no initials" of a glued title and initial; Arabic does write them, so the clause is about the glued shape, not about caseless scripts, and no reading follows from it. + - (Since the 2026-11-19 #1149 entry, `ا`, `م` and `د` are listed titles and an Arabic letter is no initial, so an Arabic dotted run holding one reads as a title: `محمد علي ا.ب.` → title 'ا.ب.', `ا.ب. علي` → title 'ا.ب.'; the Arabic readings below are master's of 2026-11-12.) ACCEPTED, word-level, each as on master: a test of one word's own writing still reads Unicode's case, a Mtavruli word being a word in capitals and a Mkhedruli word one in lower case. rules/O9 reads `ᲑᲣᲠᲯᲐᲜᲐᲫᲔ ნინო` under `capitals_as_family` as family 'ᲑᲣᲠᲯᲐᲜᲐᲫᲔ', so the contrast being caseless loses no O9 reading, and `DR ჯეკ ბერიძე` under it as family 'DR'; `ჯეკ ბერიძე MA` under it keeps family 'MA', where `محمد علي MA` reads suffix 'MA'. rules/S3's paired initials "in a script that writes capitals" (`_vocab.is_cased_paired_initials`, also read by S12's merge) take a Georgian pair, so `ნინო ბერიძე ნ.ბ.` reads family 'ნ.ბ.', where `محمد علي ا.ب.` reads suffix 'ا.ب.': right for Georgian, whose question there is nearer "writes initials" than case, a pair of letters in a script that writes initials being a name's initials; left on Unicode, decided. `_vocab._dotted_titles`' docstring says "a caseless script writes no initials" of a glued title and initial; Arabic does write them, so the clause is about the glued shape, not about caseless scripts, and no reading follows from it. - 2026-11-12 #1234 — THE MYANMAR SCRIPT WRITES NO INITIALS. Decided from the writing convention by [#1256's amendment of 2026-11-12](https://github.com/derek73/python-nameparser/issues/1256#issuecomment-6847110959), which also accepts its consequences: an empty `initials()`, the letter no longer an initial under `initials_as_family` and the two-family-names packs, and the name match reading a single letter as a whole word. The convention: no Burmese name is abbreviated to a letter and a period in Burmese script (#1234 found none in 2,604 Wikidata labels), and the first character of a syllable with a medial is not even its onset as written (`ကြည်` gave `က.`, as `က` does). CLDR does not answer here: by the copy test above, `my`'s 42 authored patterns are `en`'s in every one, and they hold `{surname-prefix}`. The row is the Myanmar block and Extended-A, -B and -C (U+1000–109F, U+A9E0–A9FF, U+AA60–AA7F, U+116D0–116FF), so Shan, Mon and Karen written in it read the same way; CLDR's `shn` authors no pattern (all 42 inherited), and `mnw`, `ksw` and `kac` have no locale file. Readings moved, against master 161ebd28: `initials()` gives '' for a Burmese word (`ကြည် ကြည် ဌေး` gave 'က. က. ဌ.'), 39 entries of the committed snapshot, 35 distinct names, every one of them held only by `corpus_cldr.jsonl` (CLDR's fictional renderings; no real name in the committed corpora moved); the name match reads a Burmese letter as a whole name, so `က. Smith` and `ကြည် Smith` conflict on either side, where they were an initial match; a Burmese name word before a letter drops the `order` report, which asks whether the word is in a script that writes initials, as a byline's (`ကြည် က.`, `ကြည် က.ခ.`, `ကြည် က. III`); grouping keys keep the first character, as Han's do. Under the policy switches and the packs a Burmese letter is no initial either: `ဌေး က. ခ.` under `initials_as_family` and under `locales.NE`, which sets it, keeps middle 'က.', family 'ခ.' (rules/O8's Accepted bullet); under `two_family_names` and the packs that set it (`locales.CS`, `SK`, `ES`, `ES_AR`) it reads family 'က. ခ.', and `Nino က. Beridze` and `မောင် က. ကျော်` family 'က. Beridze' and 'က. ကျော်' (rules/O6's), as Han letters did on master. A lone `က.` reports `given-or-family` as any lone name word does, and a Burmese word before a Latin letter drops `order` too (`ကျော် V`, `ကျော် I`, `ကျော် e`). In the commit that added this row, a dotted run of Burmese letters (`က.က. ကျော်`) lost the shape tags `shape:acronym` and `vocab:suffix-ambiguous`, S3's joined shape then asking the initials column; the next commit, which moved that reader to the abbreviation column, gave them back, so it moved a tag, not a field, against its parent, and no field against master. Swept over every pack in `nameparser.locales` and every `Policy` switch. - ACCEPTED: `period_abbreviations` stays true for the row, there being no evidence either way, so an unlisted run of Burmese consonants with a period opening a name still reads as a title by H2's shape (`ကက. ဌေး` title 'ကက.'), as on master. - 2026-11-12 #1256, Thai — THAI WRITES NO INITIALS, AND WRITES PERIOD ABBREVIATIONS. The recipe answers for `th`: 0 of its 20 authored patterns use an initial, and the block is its own (12 of the 20 equal to `en`'s by the copy test, the short ones). Thai writes a title or a degree short with periods between consonants (`ดร.`, `ร.ต.อ.`, `พ.บ.`), so the row's `period_abbreviations` holds, and the split column is what lets it: `period_joined_vocab`, the dotted-credential shape (rules/S3), asked the initials column before the Thai commit, and with the Thai row on that column `สมชาย ใจดี พ.บ.` would have read family 'พ.บ.' where it reads suffix 'พ.บ.'; the reader moved to the abbreviation column in its own commit ahead of the row, with no reading moved, so no commit held the wrong reading. Decided by the CLDR count in [#1256's amendment of 2026-11-12](https://github.com/derek73/python-nameparser/issues/1256#issuecomment-6847110959). Readings moved, against master 161ebd28: `initials()` gives '' for a Thai word (`สมชาย ใจดี` gave 'ส. ใ.'), 73 entries of the committed snapshot, 71 distinct names, 20 of them held only by `corpus_cldr.jsonl`; the name match reads a Thai letter as a whole name (`ส. ใจดี` and `สมชาย ใจดี` conflict, either side, where they were an initial match); a Thai name word before a dotted run or a letter drops the `order` report (`สมชาย พ.ต.ส.`, `สมชาย ก.`), and so does one before a Latin letter (`สมชาย V`, its `suffix-or-name` report kept), rightly, no byline writing a Thai family name before a Latin initial; under `initials_as_family`, `ใจดี ส. ก.` keeps middle 'ส.', family 'ก.' (master family 'ส. ก.'), and under `two_family_names` `สมชาย ส. ใจดี` reads family 'ส. ใจดี' (master middle 'ส.'), Thai letters being no initials (rules/O8's and O6's Accepted bullets), and the packs that set those switches read them the same way (`locales.NE`; `locales.CS`, `SK`, `ES`, `ES_AR`: `Nino ก. Beridze` and `สมชาย ก. ใจดี` read family 'ก. Beridze' and 'ก. ใจดี'); a lone `ก.` reports `given-or-family`. `Parser.suggest` no longer suggests `FAMILY_FIRST` for a group of Thai or Burmese names each a word and a letter (decisions/group-suggestion's 2026-11-12 #1256 entry). - ACCEPTED, the pen-name cost the amendment names: a Thai name written with a letter and a period before it (`ส. ศรีสุข`) keeps its fields, given 'ส.', family 'ศรีสุข', but the letter is a name word rather than an initial, untagged `initial`, and `initials()` gives '' where master gave 'ส. ศ.'. Listed and unlisted titles written short read as on master (`ดร. สมชาย ใจดี`, `ร.ต.อ.สมชาย ใจดี`, `กข. สมชาย ใจดี`), and so does `ปฐมพร อินทรางกูร ณ อยุธยา` (#1333). Swept over each comma shape, the three orders, every policy switch, NFC and NFD. +- 2026-11-19 #1149 — THE ARABIC SCRIPT WRITES NO INITIALS, MEASURED USAGE OVER CLDR. Decided on #1149 (its decision comment of 2026-11-19, and a second decision the same day on the CLDR question this entry raised): the Arabic script takes a row writing no initials, and `د.`, `أ.`, `م.`, `أ.د.`, `أ.م.د.`, `م.د.` and `م.م.` are listed as titles on it, replacing `ar.toml`'s `excluded:academic` entry for `د`, which refused it as a letter that would swallow initials. + - **CLDR says otherwise, and does not decide here.** The Standing recipe run on cldr `c0b65ae3`, the copy test removing the Arabic comma `،` beside the commas it already removed: + + | locale | authored | with an initial | `initialPattern` | patterns with an initial equal to `en`'s | + |---|---:|---:|---|---:| + | `ar` | 42 | 8 | inherited (`{0}.`) | 2 of 8 | + | `fa` | 39 | 7 | inherited | 6 of 7 | + | `ur` | 42 | 8 | inherited | 4 of 8 | + + `ar`'s block is its own and writes initials (one of its own patterns adds the full stop, `{given-informal-initial}. {surname}`), `fa`'s is mostly a copy of `en`'s and `ur`'s half its own. CLDR's patterns say how a name may be formatted, and its sample names are made up, so they say nothing of how people write their names; where the lists measured contradict them, usage decides (the Standing line above, amended). + - **The lists measured** (2026-11-19, master `667828ae`), each counting a letter written alone in an Arabic-script name: + + | list | Arabic-script names | a letter with a full stop, or alone | read as | + |---|---:|---|---| + | ORCID's records (`orcid-researchers`) | 6,291 | 221 with a full stop opening the name (`د.` 190, `أ.` 15, `م.` 11, `ا.` 5) and 23 later in it; 42 bare letters opening it (`د` 33) and 17 later; the credit lines 86 and 9 more opening one | every one a title or part of a spaced compound title (`أ. د.`, `ا. م. د.`), save at most two initials (a family box holding only `م.`, a trailing `أ.`) | + | the Wikidata native corpus | 212 (150 Arabic, 30 Persian, 32 Urdu) | 0 | — | + | `jrc-names` | 17,101 | about 6 initials, 25 lone letters in all (the issue's 21 counted fewer letters) | the initials all transliterated Western names (George W. Bush as `جورج و بوش`, `جون د روكفلر`, `ج ر ر توكين`); the other lone letters cut-off spellings (`د آل خليفة`) and punctuation | + | Egypt's House of Representatives (`eg_house_representatives`) | 1,182 | opening a name: `د` 13, `د.` 7, `م` 3, `ا.` 1; one `د` later in a name | every one a title | + + The King Saud University directory the issue read (2026-11-07, 401 names) holds no initial and writes the letter with a full stop as a title; it was not re-read. + - **Citation practice is consistent with it**, not evidence for it: Arabic-language APA guides give the given name in full in Arabic references (an Al-Azhar University Gaza guide's examples), and users of Zotero and RefWorks report Arabic entries keeping full names where English ones take initials. A web search on 2026-11-19 found no authority stating the convention either way, and nothing on Persian or Urdu. + - **What the row moves.** `initials()` gives nothing for a word in Arabic script, where 1.4.0 through 3.1.0 gave its first letter (the committed snapshot's 333 Arabic-script entries; `jrc-names` 17,065, ORCID 6,203 and the parliaments 1,143 moved in that view alone); the name match reads a single letter as a whole word; T5's veto reads no Arabic letter with a full stop as an initial, so a listed title letter is read as the title it is, and the order report on letters ending a name is not made for them, as for Thai (`محمد ع. ب.`, `محمد R. S.` behind an Arabic given name). The row's spans hold the script's digits and punctuation too, which no reader asks about but `initials()`, which leaves them out (`John ۳. Smith` gives 'J. S.'). The cost: a transliterated Western name written in Arabic script with an initial has no initials, and its letter is no initial to the parse; `و.`, also the connective "and", then joins its neighbours (`جورج و. بوش` → given 'جورج و. بوش', reported given-or-family), a shape no list measured writes (0 of the lists above) and a case row pins. About 6 such names in 17,101. A run of Arabic letters joined by full stops is no run of initials either, and one holding a listed title letter (`م`, `د`, `ا`) anywhere reads as a title: `علي ح.م.` → title 'ح.م.', family 'علي', where master read given 'علي', family 'ح.م.', and a run of transliterated initials (`ا.ب. علي`) reads as a title too; a run holding none is no title and reads as on master, a name word in `علي ح.ب.` (family 'ح.ب.') and S3's suffix with a name word to spare (`محمد علي ح.ب.` → suffix 'ح.ب.'). + - **The titles** (ar.toml, each with its counts on its note): `د`, `أ` and `م` with their full stops, `ا` (`أ` written without the hamza, as ORCID's records write it), `أ.د`, `ا.د`, `أ.م.د`, `ا.م.د`, `م.د` and `م.م` as `academic`; the ranks Egypt's parliament writes, each measured alone on the parliaments, `jrc-names` and ORCID with the word added (moved names, all to the title, none from a name): `اللواء` 4 and `لواء` 2 (`military`), `المستشار` 1, `المستشارة` 1 and `السفيرة` 1 (`office`), and `الاستاذ` (`الأستاذ` without the hamza) 1 there and 10 in ORCID. `دكتور`, `الدكتور`, `الحاج` and `الشيخ` read right already. The cost of listing them before question A is settled: a slash written apart after one (`اللواء / X`, `د / X`) leaves `/` as the given name, where master read the title word as the given name and `/` as a middle name, 14 of the parliaments' names reading a title now and 1 of ORCID's; both readings are wrong, and A's proposed reading would take the slash out. + - **The questions the decision left open, measured.** A slash (A): a listed title written with a slash for its full stop (`د/`, `د/منى`, `د / منى`, `Dr/ John`) opens 86 names in the local corpora, 61 in Arabic script (Egypt's parliament 37, ORCID 24) and 25 in Latin; the glued slash (`د/`, `د/منى`) stays the given name, and a spaced one (`د / منى`) reads the letter as the title and `/` as the given name; not built, a reading needing a tokenize rule, and recorded on #1149. A bare letter (B): listing `د.` lists `د`, the fold leaving the bare letter, and every bare Arabic letter opening a name in ORCID (51, names and credit lines) and the parliaments (16) is a title; the only others are `jrc-names`' 5 cut-off `د آل خليفة`. Glued (C): `Dr.John` divides already (rules/T8), and `د.أحمد` divides once `د` is listed, as T8's one-letter clause reads a listed caseless letter; ORCID writes the Arabic glued form 217 times and Latin 1,348. + - **NFD and the joiners.** T8 counts an Arabic letter's combining marks with it (`_vocab._ARABIC_MARKS`, every mark Unicode names ARABIC) in the gate `_script_segment` asks first, on the chunk and on the name after the stop, so a decomposed `أ.محمد` or `أ.د.أحمد` divides as the composed one does; the first review found the gate left out, a single decomposed `أ.` then swallowing the name into the title. The name after the stop also admits a zero-width non-joiner or joiner between two letters, as Persian spells a name (`د.محمد‌رضا` divides; `Dr.Jean‌Paul` with it). A joiner ending the word or right after the stop is no part of a name, so the word does not divide and reads whole as the listed title, the name with it (`د.محمد‌ رضا` → title 'د.محمد‌'), as `Dr.Jean‌ Smith` read on master: accepted, a case row pinning it. The shape's letter class (`_MARKS`, decisions/H2) still counts no Arabic mark. A vowel mark written on the title letter (`دُ.`) and a presentation form (`ﺩ.`) are not read as the title, and a title written with a vowel (`أَ.د.`) is a title by shape, not the listed one, so it addresses no given name. + - **MEASURED** against master `667828ae` (`tools/differential/measure.py --base`): the committed snapshot moves the 333 `initials()` views and no field; the CLDR, GND and Wikidata native records do not move. `orcid-researchers` moves 7,018 entries, 6,203 in `initials()` alone and 814 reading a title (663 with the middle, 149 with the given name, 2 with the family) and 1 an ambiguity alone; its agreement scores 423 records as regressions and 211 as changed to a reading neither side agrees with, which are holders who typed the title into the given-name box (629 records open that box with a newly listed title). The parliaments move 1,181 entries (38 reading a title) and their alike view reads 35 persons apart, each spelled once with a title it now reads and once without, the title field alone differing. `jrc-names` moves 17,070 entries, 5 reading a title (the cut-off `د آل خليفة`). ClinicalTrials.gov moves 9 `initials()` views; every other local corpus moves nothing. `tools/differential/match_diff.py --base` moves 0 of 690,426 rows, its draw holding no Arabic-script pair with a letter and a full stop, so `tests/v2/test_match.py` holds the match's move (`فؤاد علي` against `ف. علي` now conflicts); `suggest_measure.py --base` moves no cell (decisions/group-suggestion's entry of the same date). + - Recompute: the CLDR table with the Standing recipe on `common/main/{en,ar,fa,ur}.xml` at `c0b65ae3`, `،` added to the copy test's commas; the lists by scanning each corpus's Arabic-script names (U+0600–06FF and the other spans above) for words that are one letter with or without a full stop, by position, and reading each; the measurement with `measure.py --base `. diff --git a/docs/design/decisions/vocabulary-exclusions.md b/docs/design/decisions/vocabulary-exclusions.md index 23c1e8ed0..b4797218b 100644 --- a/docs/design/decisions/vocabulary-exclusions.md +++ b/docs/design/decisions/vocabulary-exclusions.md @@ -43,7 +43,7 @@ Excluded (DEFAULT_NICKNAME_DELIMITERS): Excluded (given-name titles and post-nominals — the 2026-07-19 transliteration deferrals, each living in a data-module comment until now): -- The title refusals are data since #750 (2026-10-19): Arabic bare سيد/شيخ/أمير/سلطان and the abbreviation د. in ar.toml, Greek bare κ in el.toml, Latin sri/shri, sant and pandit in hi.toml, and Latin mst in bn.toml, each an `excluded` entry with its reason (mst's re-reasoned 2026-11-06, #1130: it is typed as the given name, as Md is, decisions/indic-honorifics) (`uv run python tools/vocab/query.py --excluded title`). Two class-level rules stand behind them. A transliteration collides with real names where the native spelling cannot, so the native spelling ships alone (sri/shri, sant, pandit; mst was listed here until #1130 found no name it collides with, and is refused for another reason). The bare Arabic سيد/شيخ/أمير/سلطان are given names; of their article forms only الشيخ ships, and السيد, الأمير and السلطان were never vetted, so the refusal decides nothing about them. And a single-letter abbreviation is the initial trap: the edge-period fold leaves bare د or κ, which matches an initial, so `Κ. Παπαδόπουλος` would read title `Κ.` with an empty given, and Latin titles hold no bare single letter for the same reason. That is decided per word, not per script: the Bengali ড ships, vocabulary beating the initial reading on purpose (decisions/indic-honorifics), and pays exactly that cost (`ড. রহমান` reads an empty given). +- The title refusals are data since #750 (2026-10-19): Arabic bare سيد/شيخ/أمير/سلطان in ar.toml (and the abbreviation د. until decisions/script-properties' 2026-11-19 #1149 entry listed it, Arabic script writing no initials for it to swallow), Greek bare κ in el.toml, Latin sri/shri, sant and pandit in hi.toml, and Latin mst in bn.toml, each an `excluded` entry with its reason (mst's re-reasoned 2026-11-06, #1130: it is typed as the given name, as Md is, decisions/indic-honorifics) (`uv run python tools/vocab/query.py --excluded title`). Two class-level rules stand behind them. A transliteration collides with real names where the native spelling cannot, so the native spelling ships alone (sri/shri, sant, pandit; mst was listed here until #1130 found no name it collides with, and is refused for another reason). The bare Arabic سيد/شيخ/أمير/سلطان are given names; of their article forms only الشيخ ships, and السيد, الأمير and السلطان were never vetted, so the refusal decides nothing about them. And a single-letter abbreviation is the initial trap: the edge-period fold leaves bare د or κ, which matches an initial, so `Κ. Παπαδόπουλος` would read title `Κ.` with an empty given, and Latin titles hold no bare single letter for the same reason. That is decided per word, not per script, save where a script-property row says the script writes no initials, as Arabic's has since decisions/script-properties' 2026-11-19 #1149 entry: the Bengali ড ships, vocabulary beating the initial reading on purpose (decisions/indic-honorifics), and pays exactly that cost (`ড. রহমান` reads an empty given). - Ottoman post-nominals باشا/بك/أفندي — surname collisions. - Hebrew bare רב (an ordinary word, "many") and בר (Bar is a common modern Israeli given name) — deferred, #269's territory. - The Latin forms of the Indic titles belong, if anywhere, to the opt-in packs of #345 (2026-09-06, #344): TITLES has no ambiguous subset to express a partial answer in. diff --git a/docs/design/rules/O6-two-family-names.md b/docs/design/rules/O6-two-family-names.md index b0037375f..2188b8513 100644 --- a/docs/design/rules/O6-two-family-names.md +++ b/docs/design/rules/O6-two-family-names.md @@ -147,10 +147,11 @@ **Accepted:** -- A letter with a full stop in a script that writes no initials is a name word, not a middle initial (T5), so it joins the family as any third name word does: Thai and Burmese since 3.1, as Han before. +- A letter with a full stop in a script that writes no initials is a name word, not a middle initial (T5), so it joins the family as any third name word does: Thai and Burmese since 3.1 and the Arabic script since 3.2, as Han before. ``` "สมชาย ส. ใจดี" two_family_names → family="ส. ใจดี" "John 王. Smith" two_family_names → family="王. Smith" + "أحمد م. علي" two_family_names → family="م. علي" ``` - A name with one family name behind two given names loses its second given name to the family, which is the shape the switch cannot tell from the one it is for: most Argentine and English names of three words or more read wrong under it, and so do Portuguese and Brazilian names whose writer gave the last family name alone as the family. That is why it is off by default and a caller turns it on only for data written this way. ``` diff --git a/docs/design/rules/O8-letters-ending-a-name-as-its-family.md b/docs/design/rules/O8-letters-ending-a-name-as-its-family.md index f537359ad..c88b77faf 100644 --- a/docs/design/rules/O8-letters-ending-a-name-as-its-family.md +++ b/docs/design/rules/O8-letters-ending-a-name-as-its-family.md @@ -119,10 +119,11 @@ "राम बहादुर वि क" initials_as_family → family="क" "झलक बहादुर आ. म." initials_as_family → family="आ. म." ``` -- A letter of a script that writes no initials is no initial to T5, Thai and Burmese among them since 3.1 as Han and Hangul were before, so letters of theirs ending a name are no run and keep their middle and family roles. +- A letter of a script that writes no initials is no initial to T5, Thai and Burmese among them since 3.1 and the Arabic script since 3.2, as Han and Hangul were before, so letters of theirs ending a name are no run and keep their middle and family roles. ``` "ใจดี ส. ก." initials_as_family → family="ก." "ဌေး က. ခ." initials_as_family → middle="က." + "علي ح. م." initials_as_family → middle="ح." ``` - The rule reports nothing: the caller declared the convention, as O6's switch reports nothing. diff --git a/docs/design/rules/R3-initials-honor-the-fold.md b/docs/design/rules/R3-initials-honor-the-fold.md index 58c1e04ea..7eb10360c 100644 --- a/docs/design/rules/R3-initials-honor-the-fold.md +++ b/docs/design/rules/R3-initials-honor-the-fold.md @@ -56,7 +56,7 @@ **Accepted:** - This rule reads a part the parser read. A field set as raw text after the parse carries no reading, and this view is handed no vocabulary to supply one — it takes a format spec and two separators and nothing else — so every word of such a field initials, particles and conjunctions alike: a family set that way to "de la vega" gives "j. d. l. v." where parsing the same name gives "j. v.". Case repair IS handed a vocabulary, so it falls back for the one question a word can answer on its own, and R4 says which. Revising the field through the parser classifies it and matches the parse in both of the parsed name's views. (The shape needs a field edited after the parse, so no example line.) -- The given group's answer is a 1.4.0 parity break, and a second one in the other direction sits beside it. A connective among given names contributed an initial from 1.4.0 until this rule reached it, so "John and Jane Smith" gives "J. J. S." where every release through 2.3 gave "J. a. J. S." and 1.4.0 gave the run-together "J a J. S."; and a connective holding a part alone now contributes one, so "محمد و علي" gives "م. و. ع.", which is 1.4.0's own answer restored. +- The given group's answer is a 1.4.0 parity break, and a second one in the other direction sits beside it. A connective among given names contributed an initial from 1.4.0 until this rule reached it, so "John and Jane Smith" gives "J. J. S." where every release through 2.3 gave "J. a. J. S." and 1.4.0 gave the run-together "J a J. S."; and a connective holding a part alone now contributes one, so "JUAN Y GARCIA" gives "J. Y. G.", which is 1.4.0's own answer restored (a word in Arabic script contributes none since #1149, R7). --- **Signal:** none in the name: the parsed given, middle and base family words, and the connectives joining them diff --git a/docs/design/rules/R7-no-initials-in-a-script-that-writes-none.md b/docs/design/rules/R7-no-initials-in-a-script-that-writes-none.md index c81102339..5f2897761 100644 --- a/docs/design/rules/R7-no-initials-in-a-script-that-writes-none.md +++ b/docs/design/rules/R7-no-initials-in-a-script-that-writes-none.md @@ -1,10 +1,10 @@ # R7 — no initials in a script that writes none -**When:** initials are asked of a parsed name holding a word that opens with a Han ideograph, a Hangul syllable, kana, or a letter of the Myanmar or Thai script, as in "김민준". +**When:** initials are asked of a parsed name holding a word that opens with a Han ideograph, a Hangul syllable, kana, or a letter of the Myanmar, Thai or Arabic script, as in "김민준". **Then:** a word whose first letter is in a script that writes no initials contributes nothing to the initials, and a word in another script beside it still gives its own. -**Because:** Han, Hangul, kana, Burmese and Thai abbreviate no name to a letter, so the first character with a full stop after it is no initial anyone writes. The parse already reads no word in them as an initial (T5), and the name match none as one either, so the parse and this view answer that question alike. +**Because:** Han, Hangul, kana, Burmese, Thai and the Arabic script abbreviate no name to a letter, so the first character with a full stop after it is no initial anyone writes. The parse already reads no word in them as an initial (T5), and the name match none as one either, so the parse and this view answer that question alike. ``` "김민준" → initials="" @@ -12,6 +12,7 @@ "王 小明" → initials="" "ကြည် ကြည် ဌေး" → initials="" "สมชาย ใจดี" → initials="" +"أحمد علي حسن" → initials="" "김민준 John" → initials="J." · boundary ``` diff --git a/docs/design/rules/T8-word-glued-to-the-next-at-its-full-stop.md b/docs/design/rules/T8-word-glued-to-the-next-at-its-full-stop.md index cea652ee7..aab633985 100644 --- a/docs/design/rules/T8-word-glued-to-the-next-at-its-full-stop.md +++ b/docs/design/rules/T8-word-glued-to-the-next-at-its-full-stop.md @@ -4,7 +4,7 @@ **Then:** the word reads as it does with a space there: the chunk keeps its full stop and is read as it is read written apart, and the name after it is a word of its own. -- **A chunk the parser reads on its own** is one letter in a script with case, a transliteration digraph H2 names, a listed title that is no saint particle, or a listed given name written short; a single letter in a script without case is read on its own only where it is listed, as a title (Thai `ศ.`, professor) or a given name written short, though a run of two or more single letters is a chunk in any script; and a title of a script without case listed with its stops is one chunk, ending past its own stop, or, where its last chunk is two letters or more, before a letter ('พ.อ.หญิงวาสนา'), a last chunk of one letter being the initial it spells without its stop, and a run of single letters running past it being T7's run. A run of single letters before the name stays one chunk, as T7 keeps it; titles glued to each other divide at each stop, as they read written apart, and so do a digraph and the initials behind it. +- **A chunk the parser reads on its own** is one letter in a script with case, a transliteration digraph H2 names, a listed title that is no saint particle, or a listed given name written short; a single letter in a script without case is read on its own only where it is listed, as a title (Thai `ศ.`, professor; Arabic `د.`, doctor) or a given name written short, though a run of two or more single letters is a chunk in any script; and a title of a script without case listed with its stops is one chunk, ending past its own stop, or, where its last chunk is two letters or more, before a letter ('พ.อ.หญิงวาสนา'), a last chunk of one letter being the initial it spells without its stop, and a run of single letters running past it being T7's run. A run of single letters before the name stays one chunk, as T7 keeps it; titles glued to each other divide at each stop, as they read written apart, and so do a digraph and the initials behind it. ``` "Dr.John Smith" → title="Dr." "Dr.John Smith" → given="John" @@ -23,8 +23,10 @@ "พ.ต.อนุชา ใจดี" → given="อนุชา" "สมชาย พ.ต.ส." → family="พ.ต.ส." "Dr.C.Meera Nair" → given="C." + "د.أحمد علي حسن" → title="د." + "أ.د.أحمد علي" → given="أحمد" ``` -- **The name after the stop** is a word of letters, apostrophes and hyphens, a Thai letter's vowel and tone marks counted with it, whose first letter with case is not lower case, is not closed by a full stop of its own, and is no unambiguous title or credential; a name that is also a credential divides as its spaced writing reads. A name has to close the word: initials alone behind a letter or a digraph stay one word, as initials ('Kim Yu.A.'), though behind a title they divide ('Dr.J. Smith'). +- **The name after the stop** is a word of letters, apostrophes and hyphens, a Thai letter's vowel and tone marks and an Arabic letter's marks counted with it, and a zero-width joiner or non-joiner between two of its letters, whose first letter with case is not lower case, is not closed by a full stop of its own, and is no unambiguous title or credential; a name that is also a credential divides as its spaced writing reads. A name has to close the word: initials alone behind a letter or a digraph stay one word, as initials ('Kim Yu.A.'), though behind a title they divide ('Dr.J. Smith'). ``` "Dr.McDonald Jones" → title="Dr." "Mr.Ed Smith" → given="Ed" diff --git a/docs/languages.rst b/docs/languages.rst index 12af98a5c..3f9720198 100644 --- a/docs/languages.rst +++ b/docs/languages.rst @@ -18,8 +18,8 @@ subset with its own parser, or pass several packs to ``parser_for``: The sections below cover Czech, Slovak, Slovenian and Croatian names, Spanish and Portuguese titles and family names, romanized Indic titles, -Vietnamese, Mongolian and Thai names, Maghrebi, Amazigh, Hebrew and -Dutch particles, and Burmese and Malay names. Other languages are described where their mechanism is: +Vietnamese, Mongolian and Thai names, Arabic-script names, Maghrebi, +Amazigh, Hebrew and Dutch particles, and Burmese and Malay names. Other languages are described where their mechanism is: - **East Slavic patronymics** (``ru``): :ref:`east-slavic-patronymics`. - **Turkic patronymic markers** (``tr_az``): @@ -1035,6 +1035,82 @@ each stored without its last full stop: ['ด.ช', 'ด.ญ', 'น.ส', 'นาง', 'นางสาว', 'นาย', 'เด็กชาย', 'เด็กหญิง'] +.. _arabic-script-names: + +Arabic-script names +------------------- + +An Arabic, Persian or Urdu name written in Arabic script needs no pack +for its titles: the vocabulary reads them by default. The doctor, the +professor, the hajji and the sheikh are read written out +(``الدكتور``, ``الأستاذ``, ``الحاج``, ``الشيخ``); this section is about +the titles written short, and about initials. + +Titles written short +~~~~~~~~~~~~~~~~~~~~ + +Arabic writes a title short with a full stop after a letter: ``د.`` +(doctor), ``أ.`` (*ustādh*, professor or Mr.) and ``م.`` (lecturer or +engineer), and the academic ranks written short, as ORCID's records +from Iraq write them most, +``أ.د.`` (professor doctor), ``أ.م.د.`` (assistant professor +doctor), ``م.د.`` (lecturer doctor) and ``م.م.`` (assistant +lecturer). Each reads as the title with its full stop, without it, +glued to the name, or with its letters spaced: + +.. doctest:: + + >>> arabic_dr = parse("د. أحمد علي حسن") + >>> arabic_dr.title, arabic_dr.given, arabic_dr.family + ('د.', 'أحمد', 'حسن') + >>> [parse(n).title for n in ("د أحمد علي", "أ.د.أحمد علي", "أ. م. د. أحمد علي")] + ['د', 'أ.د.', 'أ. م. د.'] + +Ranks and offices are read in front of a name too: ``اللواء`` +(major general), ``المستشار`` and ``المستشارة`` (counsellor, a +judge's title in Egypt) and ``السفيرة`` (ambassador): + +.. doctest:: + + >>> parse("اللواء أحمد علي").title + 'اللواء' + +Initials +~~~~~~~~ + +In the name lists measured, Arabic script writes a letter with a full +stop before a name as a title and almost never for a name (Persian and +Urdu names were measured less). :meth:`~nameparser.ParsedName.initials` +gives nothing for a word in Arabic script, as for Han, Thai and +Burmese, and the name match reads a letter with a full stop as a word +of its own, not as an initial: + +.. doctest:: + + >>> parse("أحمد علي حسن").initials() + '' + +Where the reading stops +~~~~~~~~~~~~~~~~~~~~~~~ + +- **A title written with a slash** in place of its full stop + (``د/ أحمد علي``, Egypt's usual writing) is still read as the given + name; how a slash should read is an open question (:issue:`1149`). +- **A title behind another title** that is not listed stays a name + word: ``الأستاذ المساعد`` (assistant professor) reads ``المساعد`` as + the given name. +- **A vowel mark on the letter** (``دُ.``) or a presentation form + (``ﺩ.``) is not read as the title. +- **A Western name written in Arabic script with an initial** has no + initials, and ``و.`` (W.) is read as ``و``, "and", which joins the + name: ``جورج و. بوش`` reads as one given name. + +.. doctest:: + + >>> parse("د/ أحمد علي").given + 'د/' + + .. _maghrebi-hebrew-particles: Maghrebi, Amazigh and Hebrew particles diff --git a/docs/locales.rst b/docs/locales.rst index 972eab04e..022d22ed1 100644 --- a/docs/locales.rst +++ b/docs/locales.rst @@ -46,8 +46,7 @@ reverse: transliterations like ``sri``/``shri`` are *not* in the default vocabulary, because they are also ordinary given names in Latin script. The same conservatism holds back a handful of native entries that collide within their own script — bare ``سيد`` and -``شيخ`` (common given names), Hebrew ``רב`` (an ordinary word), the -Arabic ``د.`` abbreviation (it would swallow initials). +``شيخ`` (common given names) and Hebrew ``רב`` (an ordinary word). If your data is homogeneous enough that a collision can't occur, the reasoning behind the default doesn't apply to you — add the entry: diff --git a/docs/migrate.rst b/docs/migrate.rst index 2384c9001..706f4fc18 100644 --- a/docs/migrate.rst +++ b/docs/migrate.rst @@ -2323,3 +2323,32 @@ apart. In a name of three words ``Abdul`` still stays apart: >>> haddad = parse("Haddad, Nadia Abd Karim") >>> haddad.middle, haddad.suffix ('Abd Karim', '') + +Arabic-script titles written short, and initials in Arabic script +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +An Arabic title written short with a full stop, ``د.`` (doctor), +``أ.``, ``م.``, ``أ.د.``, ``أ.م.د.``, ``م.د.`` and ``م.م.``, and the +ranks ``اللواء`` (major general), ``المستشار`` (counsellor) and +``السفيرة`` (ambassador), are titles where 1.4 through 3.1 read them as +the given name. :meth:`~nameparser.ParsedName.initials` gives nothing +for a word in Arabic script, where 1.4 through 3.1 gave its first +letter, and the name match reads an Arabic letter with a full stop as +a word, so ``م. علي`` no longer matches ``محمد علي``. There is no +setting to restore those initials; a caller wanting a letter per word +takes it from the fields: + +.. doctest:: + + >>> arabic_name = parse("د. أحمد علي حسن") + >>> arabic_name.title, arabic_name.given, arabic_name.initials() + ('د.', 'أحمد', '') + +To read a letter with a full stop as the given name again, remove its +title reading: + +.. doctest:: + + >>> as_31 = Parser(lexicon=Lexicon.default().remove("د", kind="academic")) + >>> as_31.parse("د. أحمد علي حسن").given + 'د.' diff --git a/docs/release_log.rst b/docs/release_log.rst index 399fa6b15..c369188db 100644 --- a/docs/release_log.rst +++ b/docs/release_log.rst @@ -6,6 +6,7 @@ Release Log - **Fix Abdel, Abd and Abou past the first word of a name, which read as a middle name of their own.** ``parse("Tariq Abdel Aziz")`` gives family ``Abdel Aziz``, where 1.4.0 through 3.1.0 gave middle ``Abdel``, family ``Aziz``. ``Abdul`` joins only in a name of four words or more, titles and suffixes not counted, so ``Tariq Abdul Aziz`` keeps middle ``Abdul``; and after a family comma ``Abd`` before a name word is no longer the credential ABD. :issue:`1464` - **Add locales.MS, a Malay pack, which reads Malaysian titles written before a name: Puan, Cik, Ustaz, Ustazah and Cikgu.** ``parser_for(locales.MS).parse("Puan Siti binti Ahmad")`` gives title ``Puan``, given ``Siti``, family ``binti Ahmad``, where the default, as 1.4.0 through 3.1.0, gives given ``Puan``; ``Tuan`` stays a name word, being a hereditary prefix and a Vietnamese given name, and the pack reads the Indonesian given name ``Puan`` as the title too (``Puan Maharani``): keep it to Malaysian names. See :ref:`malay-names`. :issue:`1179` + - **Fix Arabic titles written short, which read as the given name, and stop giving initials for Arabic-script names.** ``parse("د. أحمد علي حسن")`` gives title ``د.``, given ``أحمد``, where 1.4.0 through 3.1.0 gave given ``د.``; ``أ.د.``, ``م.م.``, a title glued to the name and the ranks ``اللواء`` and ``المستشار`` read as titles too, and ``initials()`` gives nothing for a word in Arabic script, as for Thai and Burmese, nor does the name match read its letter as an initial. A title written with a slash (``د/``) still reads as the given name. :issue:`1149` - **Change Parser.suggest() to read where a Russian-style patronymic stands as a vote on the order, and add Signal.PATRONYMIC_POSITION, the signal that casts it.** ``Parser().suggest(["Sidorov Ivan Petrovich", "Volkov Pavel Sergeevich", "Orlova Anna Ivanovna", "Zaitsev Oleg Nikolaevich", "Belova Vera Andreevna"]).patch`` gives ``PolicyPatch(name_order=FAMILY_FIRST, patronymic_rules=...)``, where 3.1.0 gave the rule with the given-first order, which misread any name of two words in such a list (``Sidorov Ivan`` gave family ``Ivan``); a patronymic in the middle votes given-first. :issue:`1447` - **Fix ud inside a South Asian compound name, which read as a credential and took the rest of the name.** ``parse("NADIR ZIA UD DIN")`` gives middle ``ZIA UD``, family ``DIN``, as 1.4.0 through 2.3.0 did, where 2.4.0 through 3.1.0 gave family ``ZIA``, suffix ``UD DIN``; ``UD`` alone after a name and a comma now reads as initials (``Anke Vissering, UD`` gives given ``UD``, family ``Anke Vissering``, where 1.4.0 through 3.1.0 gave suffix ``UD``). ``bt`` stays a credential: for Malay names remove it, as :doc:`customize` shows. :issue:`1467` - **Fix the surname1 and surname2 views, which left a family of two surnames whole before a family comma, opening with a particle, or behind a given name a particle completes.** Under ``two_family_names``, as ``locales.ES``, ``ES_AR``, ``CS``, ``SK``, ``PT_BR`` and ``PT_PT`` turn it on, ``parser_for(locales.ES).parse("García Márquez, Gabriel")`` gives surname1 ``García``, surname2 ``Márquez``, as ``Gabriel García Márquez`` does, where 3.0.0 through 3.1.0 gave surname1 ``García Márquez``, surname2 ``''``. No field moves; a family joined by ``y`` or written as one hyphenated word stays whole, and so, where 3.0.0 through 3.1.0 divided them, do a lone particle and the word after it under a family-first order (``Van Gogh``) and a Turkic father's name with its marker; with ``capitals_as_family`` on too, the family the capitals name is divided. :issue:`1456`, :issue:`1479` diff --git a/nameparser/_pipeline/_vocab.py b/nameparser/_pipeline/_vocab.py index 1fcbe78a5..7aa4307d8 100644 --- a/nameparser/_pipeline/_vocab.py +++ b/nameparser/_pipeline/_vocab.py @@ -957,24 +957,34 @@ def _dotted(text: str) -> bool: or _CHUNKED.fullmatch(text) is not None) +# the combining marks (Mn) Unicode names ARABIC, every block's, which +# `_LETTER` does not count (decisions/H2): the hamza a decomposed أ or إ +# is written with, and the short vowels, so a title's chunk and the name +# after its stop are found in NFD text ('أ.محمد', 'أ.د.أحمد') as in NFC +# (#1149) +_ARABIC_MARKS = "[" + "".join(re.escape(chr(c)) for c in range(0x0600, 0x10F00) if unicodedata.category(chr(c)) == "Mn" and unicodedata.name(chr(c), "").startswith("ARABIC")) + "]" # noqa: E501 +# a letter as T8 reads one: `_LETTER`, an Arabic mark counted with it +_GLUED_LETTER = r"[^\W\d_](?:" + _MARKS + "|" + _ARABIC_MARKS + ")*" # rules/T8: "glued to the next at its full stop" -- the shapes # `glued_cuts` reads (decisions/T8 (#1230, #1235)): one chunk of letters # closed by a stop with something after it -_GLUED_CHUNK = re.compile(r"((?:" + _LETTER + r")+)\.(?=\S)") +_GLUED_CHUNK = re.compile(r"((?:" + _GLUED_LETTER + r")+)\.(?=\S)") # a run of two or more single letters closed by stops, a letter after # it (the name is `glued_cuts`' to find) -_GLUED_RUN = re.compile(r"(?:" + _LETTER + r"\.){2,}(?=[^\W\d_])") +_GLUED_RUN = re.compile(r"(?:" + _GLUED_LETTER + r"\.){2,}(?=[^\W\d_])") #: a letter (its marks with it, so NFD text passes), a full stop and a #: letter: the C-level test `_script_segment` asks before `glued_cuts` -GLUED_SHAPE = re.compile(_LETTER + r"\.[^\W\d_]") +GLUED_SHAPE = re.compile(_GLUED_LETTER + r"\.[^\W\d_]") # the Thai vowel and tone marks (Mn), which `_LETTER` does not count: # nearly every Thai name writes one ('สุดา', 'ใจดี'), so without them the # name after a Thai title's stop is never found (#1166) _THAI_MARKS = "[\u0e31\u0e34-\u0e3a\u0e47-\u0e4e]" # one word of letters, apostrophes and hyphens: what can follow a chunk -# and be a name +# and be a name; a zero-width non-joiner or joiner between two letters +# is part of the word, as Persian spells one ('محمد\u200cرضا', #1149) _GLUED_WORD = re.compile( - r"(?:" + _LETTER + r")(?:" + _LETTER + "|" + _THAI_MARKS + r"|['’\-])*") + r"(?:" + _LETTER + r")(?:" + _LETTER + "|" + _THAI_MARKS + "|" + + _ARABIC_MARKS + r"|['’\-]|[\u200c\u200d](?=[^\W\d_]))*") def _is_cased_letter(chunk: str) -> bool: diff --git a/nameparser/_policy.py b/nameparser/_policy.py index 5c984ca78..b48004db2 100644 --- a/nameparser/_policy.py +++ b/nameparser/_policy.py @@ -348,9 +348,10 @@ def matcher(text: str) -> bool: # can key a setting on, and membership there settles nothing about # case or initials. mechanisms.md#SCRIPT-PROPERTY-TABLE ("a reader selects the spans of the column that is ITS question") # names the pattern. Each answer is a writing CONVENTION, never the -# script's typology: Devanagari is an abugida and Arabic an abjad, -# and both abbreviate a name to a letter and a period ("म. गांधी", -# "م. الفارسي"), as Cyrillic does ("А. С. Пушкин"). decisions/script-properties holds each row's +# script's typology: Devanagari is an abugida and abbreviates a name +# to a letter and a period ("म. गांधी"), as Cyrillic does ("А. С. +# Пушкин"), while Arabic, an abjad, writes a letter and a period for a +# title (د.) and, in the name lists measured, almost none for a name. decisions/script-properties holds each row's # history and the recompute recipes, the CLDR count that decides # "writes initials" where a locale states it among them. @@ -439,6 +440,18 @@ class _ScriptRow: "CLDR th uses an initial in 0 of 20 authored patterns, a block of " "its own (12 of 20 equal to en's by the copy test; 2026-08-02 " "#320, re-run 2026-11-12, #1256)"), + "arabic": _ScriptRow( + ((0x0600, 0x06FF), (0x0750, 0x077F), (0x0870, 0x089F), + (0x08A0, 0x08FF), (0xFB50, 0xFDFF), (0xFE70, 0xFEFC), + (0x10EC0, 0x10EFF)), None, False, True, False, + "the Arabic-script name lists measured write a letter and a period " + "for a title (د., أ.د., م.م.) and almost never for a name, so it " + "writes period abbreviations and no initials; Persian and Urdu " + "are covered on thin evidence (decisions/script-properties' Open)", + "decided 2026-11-19 on #1149 from usage, against CLDR ar's 8 of 42 " + "authored patterns with an initial: ORCID's 6,291 Arabic-script " + "names write every opening letter with a period as a title, " + "Wikidata's 212 none (decisions/script-properties)"), }) diff --git a/nameparser/config/_compiled.py b/nameparser/config/_compiled.py index 0f01d63fc..9a661d125 100644 --- a/nameparser/config/_compiled.py +++ b/nameparser/config/_compiled.py @@ -39,24 +39,40 @@ 'sister', 'swami', 'uncle', + 'أ', + 'أ.د', + 'أ.م.د', 'أستاذ', 'أستاذة', + 'ا', + 'ا.د', + 'ا.م.د', 'الأستاذ', 'الأستاذة', + 'الاستاذ', 'الحاج', 'الحاجة', 'الدكتور', 'الدكتورة', 'الدکتور', 'الدکتورة', + 'السفيرة', 'الشيخ', 'الشيخة', 'الشیخ', 'الشیخة', + 'اللواء', + 'المستشار', + 'المستشارة', + 'د', 'دكتور', 'دكتورة', 'دکتور', 'دکتورة', + 'لواء', + 'م', + 'م.د', + 'م.م', 'مهندس', 'गुरु', 'बाबा', @@ -1129,25 +1145,37 @@ 'آقاي', 'آقای', 'آیت\u200cالله', + 'أ', + 'أ.د', + 'أ.م.د', 'أستاذ', 'أستاذة', + 'ا', + 'ا.د', + 'ا.م.د', 'الأستاذ', 'الأستاذة', + 'الاستاذ', 'الحاج', 'الحاجة', 'الدكتور', 'الدكتورة', 'الدکتور', 'الدکتورة', + 'السفيرة', 'الشيخ', 'الشيخة', 'الشیخ', 'الشیخة', + 'اللواء', + 'المستشار', + 'المستشارة', 'جناب', 'حجةالاسلام', 'حجت\u200cالاسلام', 'حضرت', 'خانم', + 'د', 'دكتر', 'دكتور', 'دكتورة', @@ -1156,6 +1184,10 @@ 'دکتورة', 'سرلشكر', 'سرلشکر', + 'لواء', + 'م', + 'م.د', + 'م.م', 'مهندس', 'गुरु', 'जनाब', @@ -1966,8 +1998,13 @@ 'chief wo4', 'chief wo5', 'chief đbqh', + 'chief السفيرة', + 'chief اللواء', + 'chief المستشار', + 'chief المستشارة', 'chief سرلشكر', 'chief سرلشکر', + 'chief لواء', 'chief न्यायमूर्ति', 'chief বিচারপতি', 'chief จ.ส.ต', @@ -2227,6 +2264,9 @@ 'deputy vizier', 'deputy warden', 'deputy đbqh', + 'deputy السفيرة', + 'deputy المستشار', + 'deputy المستشارة', 'deputy न्यायमूर्ति', 'deputy বিচারপতি', 'dir gen', @@ -4843,15 +4883,21 @@ "פרופ'": ('פרופסור',), 'פרופ׳': ('פרופסור',), 'آقاي': ('آقای',), + 'ا': ('أ',), + 'ا.د': ('أ.د',), + 'ا.م.د': ('أ.م.د',), + 'الاستاذ': ('الأستاذ',), 'الدکتور': ('الدكتور',), 'الدکتورة': ('الدكتورة',), 'الشیخ': ('الشيخ',), 'الشیخة': ('الشيخة',), 'حجةالاسلام': ('حجت\u200cالاسلام',), + 'د': ('دكتور',), 'دكتر': ('دکتر',), 'دکتور': ('دكتور',), 'دکتورة': ('دكتورة',), 'سرلشكر': ('سرلشکر',), + 'لواء': ('اللواء',), 'पं': ('पंडित',), 'আলহাজ': ('আলহাজ্ব',), 'ডঃ': ('ড',), diff --git a/nameparser/config/_index.py b/nameparser/config/_index.py index c9c7155b8..7369c2942 100644 --- a/nameparser/config/_index.py +++ b/nameparser/config/_index.py @@ -3013,10 +3013,16 @@ ('آقای', (('fa', 'salutation', ()),)), ('آل', (('ar', 'clan', ()),)), ('آیت\u200cالله', (('fa', 'religious', ()),)), + ('أ', (('ar', 'academic', (('addresses', 'given'),)),)), + ('أ.د', (('ar', 'academic', (('addresses', 'given'),)),)), + ('أ.م.د', (('ar', 'academic', (('addresses', 'given'),)),)), ('أبو', (('ar', 'teknonymic', ()), ('ar', 'bound_given', ()), ('ar', 'given', ()))), ('أستاذ', (('ar', 'academic', (('addresses', 'given'),)),)), ('أستاذة', (('ar', 'academic', (('addresses', 'given'),)),)), ('أم', (('ar', 'bound_given', ()),)), + ('ا', (('ar', 'academic', (('addresses', 'given'), ('same_as', 'أ'))),)), + ('ا.د', (('ar', 'academic', (('addresses', 'given'), ('same_as', 'أ.د'))),)), + ('ا.م.د', (('ar', 'academic', (('addresses', 'given'), ('same_as', 'أ.م.د'))),)), ('ابن', (('ar', 'patronymic', ()),)), ('ابو', (('ar', 'teknonymic', (('same_as', 'أبو'),)), ('ar', 'bound_given', (('same_as', 'أبو'),)), ('ar', 'given', ()))), ('ال', (('ar', 'clan', (('same_as', 'آل'),)),)), @@ -3025,16 +3031,21 @@ ('الأستاذة', (('ar', 'academic', (('addresses', 'given'),)),)), ('الإبن', (('ar', 'generation', ()),)), ('الابن', (('ar', 'generation', ()),)), + ('الاستاذ', (('ar', 'academic', (('addresses', 'given'), ('same_as', 'الأستاذ'))),)), ('الحاج', (('ar', 'religious', (('addresses', 'given'),)),)), ('الحاجة', (('ar', 'religious', (('addresses', 'given'),)),)), ('الدكتور', (('ar', 'academic', (('addresses', 'given'),)),)), ('الدكتورة', (('ar', 'academic', (('addresses', 'given'),)),)), ('الدکتور', (('ar', 'academic', (('addresses', 'given'), ('same_as', 'الدكتور'))),)), ('الدکتورة', (('ar', 'academic', (('addresses', 'given'), ('same_as', 'الدكتورة'))),)), + ('السفيرة', (('ar', 'office', (('addresses', 'given'),)),)), ('الشيخ', (('ar', 'style', (('addresses', 'given'),)),)), ('الشيخة', (('ar', 'style', (('addresses', 'given'),)),)), ('الشیخ', (('ar', 'style', (('addresses', 'given'), ('same_as', 'الشيخ'))),)), ('الشیخة', (('ar', 'style', (('addresses', 'given'), ('same_as', 'الشيخة'))),)), + ('اللواء', (('ar', 'military', (('addresses', 'given'),)),)), + ('المستشار', (('ar', 'office', (('addresses', 'given'),)),)), + ('المستشارة', (('ar', 'office', (('addresses', 'given'),)),)), ('ام', (('ar', 'bound_given', (('same_as', 'أم'),)),)), ('بن', (('ar', 'patronymic', ()),)), ('بنت', (('ar', 'patronymic', ()),)), @@ -3048,6 +3059,7 @@ ('حجت\u200cالاسلام', (('fa', 'religious', ()),)), ('حضرت', (('fa', 'style', ()),)), ('خانم', (('fa', 'salutation', ()),)), + ('د', (('ar', 'academic', (('addresses', 'given'), ('same_as', 'دكتور'))),)), ('دكتر', (('fa', 'academic', (('same_as', 'دکتر'),)),)), ('دكتور', (('ar', 'academic', (('addresses', 'given'),)),)), ('دكتورة', (('ar', 'academic', (('addresses', 'given'),)),)), @@ -3061,6 +3073,10 @@ ('سینیئر', (('sd', 'generation', ()), ('ur', 'generation', ()))), ('سینیور', (('fa', 'generation', ()),)), ('عبد', (('ar', 'bound_given', (('completed_by', ('الآخر', 'الأحد', 'الأكرم', 'الأمير', 'الأمیر', 'الأول', 'الأکرم', 'الإله', 'الاحد', 'الاخر', 'الاكرم', 'الاله', 'الامير', 'الامیر', 'الاول', 'الاکرم', 'البارئ', 'الباري', 'الباری', 'الباسط', 'الباطن', 'الباعث', 'الباقر', 'الباقي', 'الباقی', 'البديع', 'البدیع', 'البر', 'البصير', 'البصیر', 'التواب', 'الجامع', 'الجبار', 'الجليل', 'الجلیل', 'الجواد', 'الحافظ', 'الحسن', 'الحسيب', 'الحسين', 'الحسیب', 'الحسین', 'الحفيظ', 'الحفیظ', 'الحق', 'الحكم', 'الحكيم', 'الحليم', 'الحلیم', 'الحميد', 'الحمید', 'الحي', 'الحکم', 'الحکیم', 'الحی', 'الخافض', 'الخالق', 'الخبير', 'الخبیر', 'الدائم', 'الدايم', 'الدایم', 'الرؤوف', 'الرازق', 'الرافع', 'الرب', 'الرحمان', 'الرحمن', 'الرحيم', 'الرحیم', 'الرزاق', 'الرسول', 'الرشيد', 'الرشید', 'الرضا', 'الرقيب', 'الرقیب', 'الرووف', 'الزهرة', 'الستار', 'السلام', 'السميع', 'السمیع', 'السند', 'الشافي', 'الشافی', 'الشكور', 'الشهيد', 'الشهید', 'الشکور', 'الصادق', 'الصبور', 'الصمد', 'الضار', 'الظاهر', 'العاطي', 'العاطی', 'العال', 'العالي', 'العالی', 'العباس', 'العدل', 'العزيز', 'العزیز', 'العظيم', 'العظیم', 'العفو', 'العلي', 'العليم', 'العلی', 'العلیم', 'الغفار', 'الغفور', 'الغني', 'الغنی', 'الفتاح', 'القابض', 'القادر', 'القدوس', 'القدير', 'القدیر', 'القهار', 'القوي', 'القوی', 'القيوم', 'القیوم', 'الكاظم', 'الكافي', 'الكبير', 'الكريم', 'اللطيف', 'اللطیف', 'الله', 'اللہ', 'المؤخر', 'المؤمن', 'الماجد', 'المالك', 'المالک', 'المانع', 'المبدئ', 'المبدي', 'المبدی', 'المتعالي', 'المتعالی', 'المتكبر', 'المتين', 'المتکبر', 'المتین', 'المجيب', 'المجيد', 'المجیب', 'المجید', 'المحسن', 'المحصي', 'المحصی', 'المحمود', 'المحيي', 'المحیی', 'المذل', 'المسيح', 'المسیح', 'المصور', 'المطلب', 'المعبود', 'المعز', 'المعطي', 'المعطی', 'المعيد', 'المعید', 'المغني', 'المغنی', 'المقتدر', 'المقدم', 'المقسط', 'المقصود', 'المقيت', 'المقیت', 'الملك', 'الملک', 'المميت', 'الممیت', 'المنان', 'المنتقم', 'المنعم', 'المهدي', 'المهدی', 'المهيمن', 'المهیمن', 'الموجود', 'الموخر', 'المولى', 'المولی', 'المومن', 'الناصر', 'النافع', 'النبي', 'النبی', 'النور', 'الهادي', 'الهادی', 'الواجد', 'الواحد', 'الوارث', 'الواسع', 'الوالي', 'الوالی', 'الودود', 'الوكيل', 'الولي', 'الولی', 'الوهاب', 'الوکیل', 'الکاظم', 'الکافی', 'الکبیر', 'الکریم')),)),)), + ('لواء', (('ar', 'military', (('addresses', 'given'), ('same_as', 'اللواء'))),)), + ('م', (('ar', 'academic', (('addresses', 'given'),)),)), + ('م.د', (('ar', 'academic', (('addresses', 'given'),)),)), + ('م.م', (('ar', 'academic', (('addresses', 'given'),)),)), ('مهندس', (('ar', 'academic', (('addresses', 'given'),)), ('fa', 'academic', (('default', False),)))), ('و', (('ar', 'conjunction', ()),)), ('गुरु', (('hi', 'religious', (('addresses', 'given'),)), ('ne', 'given', (('default', False),)))), diff --git a/nameparser/vocab/ar.toml b/nameparser/vocab/ar.toml index 8fee72628..730a88235 100644 --- a/nameparser/vocab/ar.toml +++ b/nameparser/vocab/ar.toml @@ -69,6 +69,30 @@ excluded = { style = { reason = "Sayyid is a common given name; the honorific is text = "شيخ" excluded = { style = { reason = "bare, it collides with the common female given name Shaikha; الشيخ, with the article, ships", issue = 269 } } +[[word]] +text = "أ" +academic = { addresses = "given", expands = "Ustadh (أستاذ) written short: professor, or Mr.", note = "written short with a full stop (the fold leaves the bare letter, which reads as the title too); Arabic script writes no initials (decisions/script-properties), so it swallows none: ORCID's Arabic-script names open with أ. 15 times, every one before a name; the King Saud directory 6 of 401 (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "ا" +academic = { addresses = "given", same_as = "أ", expands = "Ustadh written short, its alif without the hamza", note = "ORCID Arabic-script records open with ا. 5 times and write it in ا.م.د. and ا.د. (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "أ.د" +academic = { addresses = "given", expands = "professor doctor (أستاذ دكتور) written short", note = "ORCID Arabic-script records open with it 40 times; the King Saud directory 23 of 401; Egypt's House of Representatives 2 (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "ا.د" +academic = { addresses = "given", same_as = "أ.د", expands = "professor doctor written short, its alif without the hamza", note = "ORCID Arabic-script records open with it 3 times (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "أ.م.د" +academic = { addresses = "given", expands = "assistant professor doctor (أستاذ مساعد دكتور) written short", note = "ORCID Arabic-script records open with it 11 times (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "ا.م.د" +academic = { addresses = "given", same_as = "أ.م.د", expands = "assistant professor doctor written short, its alif without the hamza", note = "ORCID Arabic-script records open with it 4 times (2026-11-19)", issue = 1149, decided = 2026-11-19 } + [[word]] text = "أستاذ" academic = { addresses = "given", gender = "m", issue = 269, expands = "professor" } @@ -81,6 +105,10 @@ academic = { addresses = "given", gender = "f", issue = 269, expands = "professo text = "الأستاذ" academic = { addresses = "given", gender = "m", issue = 269, expands = "the professor; also an honorific, Mr." } +[[word]] +text = "الاستاذ" +academic = { addresses = "given", same_as = "الأستاذ", expands = "the professor, its alif without the hamza", note = "ORCID Arabic-script records open with it 10 times (most before الدكتور), Egypt's House of Representatives once; every one moves to the title and none from a name (2026-11-19)", issue = 1149, decided = 2026-11-19 } + [[word]] text = "الأستاذة" academic = { addresses = "given", gender = "f", issue = 269, expands = "the professor; also an honorific, Mrs." } @@ -101,14 +129,14 @@ academic = { addresses = "given", gender = "f", issue = 269, expands = "the doct text = "الدکتورة" academic = { addresses = "given", gender = "f", same_as = "الدكتورة", issue = 1151, expands = "the doctor, Persian letters ی and ک" } -[[word]] -text = "د" -excluded = { academic = { reason = "the abbreviation د.: the edge-period fold leaves bare د, a single letter that would swallow initials (the bare-κ trap)", issue = 269 } } - [[word]] text = "دكتور" academic = { addresses = "given", gender = "m", issue = 269, expands = "doctor" } +[[word]] +text = "د" +academic = { addresses = "given", same_as = "دكتور", expands = "Dr., دكتور written short", note = "written short with a full stop (the fold leaves the bare letter, which reads as the title too); Arabic script writes no initials (decisions/script-properties), so it swallows none: ORCID's Arabic-script names open with د. 190 times and with a bare د 33; Egypt's House of Representatives with د 13 and د. 7; the King Saud directory 63 of 401 (2026-11-19)", issue = 1149, decided = 2026-11-19 } + [[word]] text = "دکتور" academic = { addresses = "given", gender = "m", same_as = "دكتور", issue = 1151, expands = "doctor, Persian letters ی and ک" } @@ -121,6 +149,18 @@ academic = { addresses = "given", gender = "f", issue = 269, expands = "doctor" text = "دکتورة" academic = { addresses = "given", gender = "f", same_as = "دكتورة", issue = 1151, expands = "doctor, Persian letters ی and ک" } +[[word]] +text = "م" +academic = { addresses = "given", expands = "lecturer (مدرس) or engineer (مهندس) written short", note = "written short with a full stop (the fold leaves the bare letter, which reads as the title too); Arabic script writes no initials (decisions/script-properties), so it swallows none: ORCID's Arabic-script names open with م. 11 times; Egypt's House of Representatives with a bare م 3 (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "م.د" +academic = { addresses = "given", expands = "lecturer doctor (مدرس دكتور) written short", note = "ORCID Arabic-script records open with it 11 times (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "م.م" +academic = { addresses = "given", expands = "assistant lecturer (مدرس مساعد) written short", note = "ORCID Arabic-script records open with it 22 times (2026-11-19)", issue = 1149, decided = 2026-11-19 } + [[word]] text = "مهندس" academic = { addresses = "given", gender = "m", issue = 269, expands = "engineer", note = "a genuine title in Egyptian usage" } @@ -171,10 +211,30 @@ excluded = { nobility = { reason = "Amir is a common given name", issue = 269 } text = "سلطان" excluded = { nobility = { reason = "Sultan is a common given name", issue = 269 } } +[[word]] +text = "اللواء" +military = { addresses = "given", expands = "the major general", note = "opens 4 names of Egypt's House of Representatives, each moving to the title and none from a name (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "لواء" +military = { addresses = "given", same_as = "اللواء", expands = "major general, without the article", note = "opens 2 names of Egypt's House of Representatives, each moving to the title (2026-11-19)", issue = 1149, decided = 2026-11-19 } + [[word]] text = "vizier" office = {} +[[word]] +text = "السفيرة" +office = { addresses = "given", gender = "f", expands = "the ambassador", note = "opens 1 name of Egypt's House of Representatives, moving to the title (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "المستشار" +office = { addresses = "given", gender = "m", expands = "the counsellor, a judge's title in Egypt", note = "opens 1 name of Egypt's House of Representatives, moving to the title (2026-11-19)", issue = 1149, decided = 2026-11-19 } + +[[word]] +text = "المستشارة" +office = { addresses = "given", gender = "f", expands = "the counsellor, a judge's title in Egypt", note = "opens 1 name of Egypt's House of Representatives, moving to the title (2026-11-19)", issue = 1149, decided = 2026-11-19 } + [[word]] text = "الأب" generation = { issue = 679, note = "the father" } diff --git a/tests/v2/cases.py b/tests/v2/cases.py index d93720a50..f72d4bc24 100644 --- a/tests/v2/cases.py +++ b/tests/v2/cases.py @@ -21974,4 +21974,130 @@ def _check_cjk_shape_purity(self) -> None: {"given": "Tariq", "middle": "- Abdul", "family": "Aziz"}, notes="boundary: a mark with no letter is no name word in the " "count, so the name holds three"), + # #1149: Arabic-script titles written short, the ranks Egypt's + # parliament writes, and the script-property row saying Arabic + # script writes no initials. + Case("arabic_doctor_written_short_is_the_title", "د. أحمد علي حسن", + {"title": "د.", "given": "أحمد", "middle": "علي", "family": "حسن"}, + classification="fix(#1149)", + notes="read given 'د.' 1.4.0 through 3.1 (unlisted in 1.4.0; " + "refused by #269 as a letter that would swallow initials)"), + Case("arabic_doctor_without_its_full_stop_is_the_title", "د أحمد علي حسن", + {"title": "د", "given": "أحمد", "middle": "علي", "family": "حسن"}, + classification="fix(#1149)", + notes="the fold leaves the bare letter, listed with it"), + Case("arabic_doctor_glued_to_the_name_divides", "د.أحمد علي حسن", + {"title": "د.", "given": "أحمد", "middle": "علي", "family": "حسن"}, + classification="fix(#1149)", + notes="T8: a listed one-letter title of a script without case " + "divides at its stop, as Thai 'ศ.' does"), + Case("arabic_professor_doctor_is_the_title", "أ.د. أحمد علي", + {"title": "أ.د.", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_professor_doctor_glued_in_nfd_divides", + "\u0627\u0654.\u062f.\u0627\u0654\u062d\u0645\u062f \u0639\u0644\u064a", + {"title": "\u0627\u0654.\u062f.", "given": "\u0627\u0654\u062d\u0645\u062f", + "family": "\u0639\u0644\u064a"}, + classification="fix(#1149)", + notes="decomposed hamza on both sides of the stop: T8 counts an " + "Arabic letter's marks with it, as NFC 'أ.د.أحمد' reads"), + Case("arabic_assistant_professor_spaced_is_one_title", "أ. م. د. أحمد علي", + {"title": "أ. م. د.", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_assistant_lecturer_is_the_title", "م.م. أمنية علي", + {"title": "م.م.", "given": "أمنية", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_rank_without_the_hamza_is_the_title", "ا.م.د. أحمد علي", + {"title": "ا.م.د.", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)", + notes="the alif written without its hamza, as ORCID's records " + "write it"), + Case("arabic_title_written_short_after_an_arabic_comma", "حسن، د. أحمد علي", + {"title": "د.", "given": "أحمد", "middle": "علي", "family": "حسن"}, + classification="fix(#1149)"), + Case("arabic_major_general_is_the_title", "اللواء أحمد علي", + {"title": "اللواء", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_counsellor_is_the_title", "المستشار أحمد علي حسن", + {"title": "المستشار", "given": "أحمد", "middle": "علي", "family": "حسن"}, + classification="fix(#1149)"), + Case("arabic_ambassador_is_the_title", "السفيرة منى علي", + {"title": "السفيرة", "given": "منى", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_professor_without_the_hamza_joins_the_doctor", + "الاستاذ الدكتور أحمد علي", + {"title": "الاستاذ الدكتور", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_one_letter_title_glued_in_nfd_divides", + "\u0627\u0654.\u0627\u0654\u062d\u0645\u062f \u0639\u0644\u064a", + {"title": "\u0627\u0654.", "given": "\u0627\u0654\u062d\u0645\u062f", "family": "علي"}, + classification="fix(#1149)", + notes="the decomposed hamza before the stop: the gate T8 asks first " + "counts an Arabic mark with its letter"), + Case("arabic_title_glued_to_a_name_with_a_hamza_below_in_nfd", + "\u062f.\u0627\u0655\u0628\u0631\u0627\u0647\u064a\u0645 \u0639\u0644\u064a", + {"title": "د.", "given": "\u0627\u0655\u0628\u0631\u0627\u0647\u064a\u0645", "family": "علي"}, + classification="fix(#1149)"), + Case("persian_name_with_a_non_joiner_glued_to_a_title_divides", + "د.محمد\u200cرضا شفیعی", + {"title": "د.", "given": "محمد\u200cرضا", "family": "شفیعی"}, + classification="fix(#1149)", + notes="T8: a zero-width non-joiner between two letters of the name " + "after the stop is part of it, as Persian spells a name"), + Case("persian_name_ending_in_a_non_joiner_stays_in_the_glued_title", + "د.محمد\u200c رضا علي", + {"title": "د.محمد\u200c", "given": "رضا", "family": "علي"}, + classification="fix(#1149)", + notes="the accepted cost: a joiner ending the word is no part of a " + "name, so it does not divide and reads whole as the listed " + "title, as 'Dr.Jean\u200c Smith' does; read given " + "'د.محمد\u200c' 1.4.0 through 3.1"), + Case("arabic_ustadh_written_short_is_the_title", "أ. أحمد علي", + {"title": "أ.", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_ustadh_without_the_hamza_is_the_title", "ا. أحمد علي", + {"title": "ا.", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_engineer_written_short_is_the_title", "م. أحمد علي", + {"title": "م.", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_bare_run_of_title_letters_is_one_title", "أ م د أحمد علي", + {"title": "أ م د", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_major_general_without_the_article_is_the_title", "لواء أحمد علي", + {"title": "لواء", "given": "أحمد", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_counsellor_feminine_is_the_title", "المستشارة منى علي", + {"title": "المستشارة", "given": "منى", "family": "علي"}, + classification="fix(#1149)"), + Case("arabic_title_written_short_under_family_first", "د. أحمد علي حسن", + {"title": "د.", "given": "علي", "middle": "حسن", "family": "أحمد"}, + policy=Policy(name_order=FAMILY_FIRST), + classification="fix(#1149)"), + Case("arabic_title_letter_ending_a_name_is_the_family", "أحمد علي د.", + {"given": "أحمد", "middle": "علي", "family": "د."}, + notes="boundary: a bare listed title ending a name stays a name " + "word, as Thai 'ศ.' does (#1149)"), + Case("arabic_presentation_form_letter_is_not_the_title", "\ufea9. أحمد علي", + {"given": "\ufea9.", "middle": "أحمد", "family": "علي"}, + notes="boundary: the vocabulary folds no presentation form (#1149)"), + Case("arabic_title_after_a_family_comma_addresses_the_given_name", "الفارسي، د.", + {"title": "د.", "given": "الفارسي"}, + classification="fix(#1149)", + notes="as 'الفارسي، الدكتور' reads: an Arabic title addresses the " + "given name"), + Case("arabic_title_letter_inside_a_name_is_a_name_word", "أحمد د. علي", + {"given": "أحمد", "middle": "د.", "family": "علي"}, + notes="boundary: a title is read in front of the name (#1149)"), + Case("arabic_letter_and_full_stop_between_words_joins_as_and", + "جورج و. بوش", + {"given": "جورج و. بوش"}, + ambiguities=("given-or-family",), + classification="fix(#1149)", + notes="the accepted cost: with no initial in the script, 'و.' is " + "the connective 'and' (P3); read middle 'و.' 1.4.0 through " + "3.1, a transliterated initial no corpus writes so"), + Case("arabic_title_with_a_slash_is_still_read_as_the_name", "د/ أحمد علي", + {"given": "د/", "middle": "أحمد", "family": "علي"}, + notes="boundary: the slash is #1149's open question A"), ) diff --git a/tests/v2/pipeline/test_vocab.py b/tests/v2/pipeline/test_vocab.py index 7ea006fa9..f6086cc7d 100644 --- a/tests/v2/pipeline/test_vocab.py +++ b/tests/v2/pipeline/test_vocab.py @@ -71,7 +71,6 @@ def test_is_initial_script_repertoire() -> None: # have letters, so these are real initials ("А. С. Пушкин"). assert is_initial("А.") # Cyrillic assert is_initial("Α.") # Greek - assert is_initial("م.") # Arabic assert is_initial("ה.") # Hebrew assert is_initial("र.") # Devanagari assert is_initial("Ա.") # Armenian @@ -83,6 +82,10 @@ def test_is_initial_script_repertoire() -> None: assert not is_initial("さ.") assert not is_initial("ラ.") assert not is_initial("ラ.") # halfwidth katakana is katakana (#594) + # Arabic script writes a letter and a period for a title (د., م.) + # and none for a name (#1149, decisions/script-properties) + assert not is_initial("م.") + assert not is_initial("ﺩ.") # its presentation form too # unchanged: a digit is ONE edge of \w's reach and '_' is another, # and the shape half still owns both -- only the repertoire narrowed assert is_initial("2.") @@ -1421,6 +1424,7 @@ def test_trailing_title_shape(text: str, admitted: bool) -> None: _GLUED_LEX = (Lexicon() .add("dr", "lt", "gov", "dra", kind="title") .add("ดร", "รศ", "ศ", kind="academic") + .add("أ", "د", "أ.د", kind="academic") .add("พ.ต.อ", "พ.ต", "พ.อ.หญิง", kind="military", attached="before") .add("st", kind="saint") @@ -1484,6 +1488,12 @@ def _pieces_of(text: str) -> list[str]: # a run of single letters running past a rank is T7's run before # the name, not the rank and an initial ("พ.ต.ส.สมชาย", ["พ.ต.ส.", "สมชาย"]), + # NFD: the letter class the chunk and the name read counts a + # combining mark, Latin's as before and Arabic's since #1149 + ("E\u0301.Dupont", ["E\u0301.", "Dupont"]), + ("Dr.E\u0301mile", ["Dr.", "E\u0301mile"]), + ("\u0627\u0654.\u0627\u0654\u062d\u0645\u062f", ["\u0627\u0654.", "\u0627\u0654\u062d\u0645\u062f"]), + ("\u0627\u0654.\u062f.أحمد", ["\u0627\u0654.\u062f.", "أحمد"]), ]) def test_a_glued_word_divides_where_a_chunk_read_alone_meets_a_name( text: str, pieces: list[str]) -> None: diff --git a/tests/v2/test_cases.py b/tests/v2/test_cases.py index 51ea4f76a..47ded8637 100644 --- a/tests/v2/test_cases.py +++ b/tests/v2/test_cases.py @@ -507,9 +507,11 @@ def test_the_field_sweep_sees_the_claims_it_checks() -> None: # day, #1464's 'Ali Abdul Rahim VI' under three orders and 'Ram Abdul # Bahadur B.K.' under its declared policy, each reporting # suffix-or-name; 2205 -> 2208 the same day, #1464's 'Dr. Al Amin - # Abdul Rahman' reporting particle-or-given. - assert claims == 2208, ( - f"the field sweep checks {claims} claims, recorded as 2208 on " + # Abdul Rahman' reporting particle-or-given; 2208 -> 2211 the same + # day, #1149's 'جورج و. بوش' reporting given-or-family under three + # orders. + assert claims == 2211, ( + f"the field sweep checks {claims} claims, recorded as 2211 on " f"2026-11-19") diff --git a/tests/v2/test_match.py b/tests/v2/test_match.py index 60abdb924..67e313f35 100644 --- a/tests/v2/test_match.py +++ b/tests/v2/test_match.py @@ -687,6 +687,15 @@ def test_a_devanagari_vowel_sign_is_not_folded_away() -> None: assert not r.consistent and role(r, Role.GIVEN).outcome is Outcome.CONFLICT +def test_an_arabic_letter_with_a_full_stop_is_no_initial() -> None: + # Arabic script writes no initials (#1149, decisions/script-properties): + # the letter is a word of its own, so it conflicts with the name it + # would have stood for, where a Latin initial is consistent with it + r = m.check("فؤاد علي", "ف. علي") + assert not r.consistent and role(r, Role.GIVEN).outcome is Outcome.CONFLICT + assert m.check("Fouad Ali", "F. Ali").consistent + + def test_a_devanagari_anusvara_is_not_folded_away() -> None: r = m.check("हंस सिंह", "हस सिंह") assert not r.consistent and role(r, Role.GIVEN).outcome is Outcome.CONFLICT diff --git a/tests/v2/test_script_properties.py b/tests/v2/test_script_properties.py index 575aebe9a..f2fc62e2b 100644 --- a/tests/v2/test_script_properties.py +++ b/tests/v2/test_script_properties.py @@ -127,6 +127,8 @@ def test_has_case_reaches_every_contrast(key: str, row: _ScriptRow) -> None: #: table's, by the name they are bound to, each with its reason. _OTHER_QUESTIONS = { "_THAI_MARKS": "the marks a Thai name writes after a stop (T8)", + "_ARABIC_MARKS": "the marks an Arabic-script word writes, which T8 " + "counts with a letter in NFD text (#1149)", "_AFTER_A_CONSONANT": "the Thai vowel signs written after a " "consonant, which the segmenter reads", } @@ -214,16 +216,18 @@ def test_a_script_with_no_initials_may_still_write_abbreviations( assert name.initials() == "" -#: Georgian beside its Arabic twin: a script the table gives no case +#: Georgian beside its Hebrew twin: a script the table gives no case #: reads as a script Unicode gives none, at every name-level case -#: question that reads the name's case (#1222). Master (161ebd28) reads -#: eleven of these sixteen rows apart; the other five agreed there too -#: (MA, ჯეკ; the MD and III rows; ნინო SMITH; the Latin control). Not -#: an oracle where the two scripts differ in another column: Georgian -#: writes initials and Arabic's dotted runs read otherwise, so a -#: dotted run is held by its own test below, not by its twin. -_GEORGIAN = {"ჯეკ": "محمد", "ბერიძე": "علي", "ნინო": "حسن", - "ᲑᲣᲠᲯᲐᲜᲐᲫᲔ": "فاطمة"} +#: question that reads the name's case (#1222). With the table off +#: (the control below), eleven of these sixteen rows read apart; the +#: other five agree there too (MA, ჯეკ; the MD and III rows; ნინო SMITH; +#: the Latin control). The +#: twin is a script with no row, so it differs from Georgian in the +#: case column alone: Arabic was the twin until #1149 gave it a row +#: saying it writes no initials, which `_shape`'s initials count reads. +#: Not an oracle for a dotted run, which is held by its own test below. +_GEORGIAN = {"ჯეკ": "דוד", "ბერიძე": "כהן", "ნინო": "שרה", + "ᲑᲣᲠᲯᲐᲜᲐᲫᲔ": "רבינוביץ"} _TWIN_SHAPES = ( "ჯეკ MA", "ჯეკ, MA", ", ჯეკ MA", "MA, ჯეკ", "ჯეკ ბერიძე MA", "ბერიძე, ჯეკ MA", "ჯეკ DO", @@ -244,17 +248,17 @@ def _shape(text: str, order: tuple[object, ...]) -> tuple[object, ...]: @pytest.mark.parametrize("text", _TWIN_SHAPES) -def test_georgian_reads_as_its_arabic_twin(text: str) -> None: +def test_georgian_reads_as_its_hebrew_twin(text: str) -> None: from nameparser import FAMILY_FIRST, GIVEN_FIRST twin = text - for ka, ar in _GEORGIAN.items(): - twin = twin.replace(ka, ar) + for ka, he in _GEORGIAN.items(): + twin = twin.replace(ka, he) for order in (GIVEN_FIRST, FAMILY_FIRST): assert _shape(text, order) == _shape(twin, order), (text, twin) #: The twin test's recorded negative control (AGENTS.md's guard tests): -#: how many of `_TWIN_SHAPES` read apart from their Arabic twin under +#: how many of `_TWIN_SHAPES` read apart from their Hebrew twin under #: either order with the caseless table emptied, which is master's #: answer at every site that reads it. Re-take it when a shape is added. _UNGUARDED_EFFECT = 11 @@ -273,8 +277,8 @@ def test_the_twin_test_fails_with_the_table_off( apart = 0 for text in _TWIN_SHAPES: twin = text - for ka, ar in _GEORGIAN.items(): - twin = twin.replace(ka, ar) + for ka, he in _GEORGIAN.items(): + twin = twin.replace(ka, he) apart += any(_shape(text, o) != _shape(twin, o) for o in (GIVEN_FIRST, FAMILY_FIRST)) assert apart == _UNGUARDED_EFFECT @@ -347,6 +351,13 @@ def test_a_georgian_run_ending_the_name_gives_an_initial_per_letter() -> None: # thai and myanmar write no initials (#1256's amendment) ("สมชาย ใจดี", "initials", ""), ("ကြည် ကြည် ဌေး", "initials", ""), + # the arabic script writes no initials, and a listed letter with a + # full stop is its title (#1149) + ("أحمد علي حسن", "initials", ""), + ("د. أحمد علي حسن", "title", "د."), + # and writes period abbreviations: H2's shape reads an unlisted run + # of its letters with a period as a title (#1149) + ("حس. علي", "title", "حس."), ]) def test_each_row_is_pinned_by_a_reading(text: str, field: str, value: str) -> None: @@ -419,6 +430,7 @@ def test_every_script_member_has_a_row_or_a_stated_default() -> None: #: independent of the row's own spans, so a span dropped or cut short #: leaves a letter of the script outside the row. _ROW_LETTER_NAMES = { + "arabic": ("ARABIC LETTER",), "myanmar": ("MYANMAR LETTER",), "thai": ("THAI CHARACTER",), "georgian": ("GEORGIAN LETTER", "GEORGIAN MTAVRULI CAPITAL LETTER"), diff --git a/tools/differential/corpus_rules.jsonl b/tools/differential/corpus_rules.jsonl index a78ca647f..ce3f68355 100644 --- a/tools/differential/corpus_rules.jsonl +++ b/tools/differential/corpus_rules.jsonl @@ -2019,13 +2019,18 @@ "בן חיים יעל" "בן חיים, יעל" "סאמר בן חליל" +"أ.د.أحمد علي" +"أحمد علي حسن" +"أحمد م. علي" "جورج بوش الابن" +"د.أحمد علي حسن" "سعيد عبد الله" "سلمان، محمد" "طارق عبد العزيز" "عبد اللطيف عبد الحميد" "عبد الله" "عبد الله حسن, علي" +"علي ح. م." "علي عبد الکریم" "محمد بن سلمان" "محمد عبد القريشي" diff --git a/tools/differential/snapshot.jsonl b/tools/differential/snapshot.jsonl index f3bdb3d30..c6e4db04b 100644 --- a/tools/differential/snapshot.jsonl +++ b/tools/differential/snapshot.jsonl @@ -5997,338 +5997,343 @@ {"name": "תומר שחורי", "given": "תומר", "family": "שחורי", "initials": "ת. ש."} {"name": "תמיר כהן", "given": "תמיר", "family": "כהן", "initials": "ת. כ."} {"name": "תמרה כהן", "given": "תמרה", "family": "כהן", "initials": "ת. כ."} -{"name": "آئرين ائڊلر", "given": "آئرين", "family": "ائڊلر", "initials": "آ. ا."} -{"name": "آقای امیر هوشنگ رستگار دکتر", "title": "آقای", "given": "امیر", "middle": "هوشنگ رستگار", "family": "دکتر", "initials": "ا. ه. ر. د."} -{"name": "آمال فهمي", "given": "آمال", "family": "فهمي", "initials": "آ. ف."} -{"name": "آیتین عدلو", "given": "آیتین", "family": "عدلو", "initials": "آ. ع."} -{"name": "أبو الأغا، أحمد رامي نجيب محفوظ", "order": "FAMILY_FIRST", "given": "أحمد", "middle": "رامي نجيب محفوظ", "family": "أبو الأغا", "initials": "أ. ر. ن. م. ا."} -{"name": "أبو بكر الشاطري", "given": "أبو بكر", "family": "الشاطري", "initials": "أ. ب. ا."} -{"name": "أبو بكر سالم", "given": "أبو بكر", "family": "سالم", "initials": "أ. ب. س."} -{"name": "أحلام الجريتلي", "given": "أحلام", "family": "الجريتلي", "initials": "أ. ا."} -{"name": "أحمد حجازي", "given": "أحمد", "family": "حجازي", "initials": "أ. ح."} -{"name": "أحمد سالم", "given": "أحمد", "family": "سالم", "initials": "أ. س."} -{"name": "أحمد قنديل", "given": "أحمد", "family": "قنديل", "initials": "أ. ق."} -{"name": "أحمد مصطفى", "given": "أحمد", "family": "مصطفى", "initials": "أ. م."} -{"name": "أصالة نصري", "given": "أصالة", "family": "نصري", "initials": "أ. ن."} -{"name": "أكرم التلاوي", "given": "أكرم", "family": "التلاوي", "initials": "أ. ا."} -{"name": "أكرم عجة", "given": "أكرم", "family": "عجة", "initials": "أ. ع."} -{"name": "ألكسندر دارسي", "given": "ألكسندر", "family": "دارسي", "initials": "أ. د."} -{"name": "أمجد الطرابلسي", "given": "أمجد", "family": "الطرابلسي", "initials": "أ. ا."} -{"name": "أمين دابو", "given": "أمين", "family": "دابو", "initials": "أ. د."} -{"name": "أمين سامي", "given": "أمين", "family": "سامي", "initials": "أ. س."} -{"name": "أمينة رشيد", "given": "أمينة", "family": "رشيد", "initials": "أ. ر."} -{"name": "أنطوانيت نجيب", "given": "أنطوانيت", "family": "نجيب", "initials": "أ. ن."} -{"name": "أنطونيوس نجيب", "given": "أنطونيوس", "family": "نجيب", "initials": "أ. ن."} -{"name": "أيمن الدُّقر", "given": "أيمن", "family": "الدُّقر", "initials": "أ. ا."} -{"name": "إبراهيم البغدادي", "given": "إبراهيم", "family": "البغدادي", "initials": "إ. ا."} -{"name": "إبراهيم الغلاييني", "given": "إبراهيم", "family": "الغلاييني", "initials": "إ. ا."} -{"name": "إبراهيم صالح", "given": "إبراهيم", "family": "صالح", "initials": "إ. ص."} -{"name": "إحسان الرفاعي", "given": "إحسان", "family": "الرفاعي", "initials": "إ. ا."} -{"name": "إلهام حسين", "given": "إلهام", "family": "حسين", "initials": "إ. ح."} -{"name": "إلياس الزيَّات", "given": "إلياس", "family": "الزيَّات", "initials": "إ. ا."} -{"name": "إيهاب خورشيد", "given": "إيهاب", "family": "خورشيد", "initials": "إ. خ."} -{"name": "ائڊلر آئرين", "order": "FAMILY_FIRST", "given": "آئرين", "family": "ائڊلر", "initials": "آ. ا."} -{"name": "احمد", "given": "احمد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "ا."} -{"name": "احمد", "order": "FAMILY_FIRST", "given": "احمد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "ا."} -{"name": "احمد گلشیری", "given": "احمد", "family": "گلشیری", "initials": "ا. گ."} -{"name": "اختر رضا خان", "given": "اختر", "middle": "رضا", "family": "خان", "initials": "ا. ر. خ."} -{"name": "ادا كورنەليا فون بريۋل جۋنيور، ءتىس دارىگەرى", "given": "ءتىس", "middle": "دارىگەرى", "family": "ادا كورنەليا فون بريۋل جۋنيور", "initials": "ء. د. ا. ك. ف. ب. ج."} -{"name": "ارین اډلر", "given": "ارین", "family": "اډلر", "initials": "ا. ا."} -{"name": "استوبر، زازیلیا هایمیش", "order": "FAMILY_FIRST", "given": "زازیلیا", "middle": "هایمیش", "family": "استوبر", "initials": "ز. ه. ا."} -{"name": "اسٽوبر زيزيليا ھئمش", "order": "FAMILY_FIRST", "given": "زيزيليا", "middle": "ھئمش", "family": "اسٽوبر", "initials": "ز. ھ. ا."} -{"name": "اسەم", "given": "اسەم", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "ا."} -{"name": "اسەم", "order": "FAMILY_FIRST", "given": "اسەم", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "ا."} -{"name": "اصغر شازیہ", "order": "FAMILY_FIRST", "given": "شازیہ", "family": "اصغر", "initials": "ش. ا."} -{"name": "اصغر، شازیہ", "order": "FAMILY_FIRST", "given": "شازیہ", "family": "اصغر", "initials": "ش. ا."} -{"name": "اقبال قریشی", "given": "اقبال", "family": "قریشی", "initials": "ا. ق."} -{"name": "الدكتور عايدة كورنيليا سيزار مارتن فون برول الإبن، طبيب وجراح", "title": "الدكتور", "given": "طبيب", "middle": "وجراح", "family": "عايدة كورنيليا سيزار مارتن فون برول", "suffix": "الإبن", "initials": "ط. و. ع. ك. س. م. ف. ب.", "generation": "الإبن"} -{"name": "السيد أحمد رامي نجيب محفوظ أبو الأغا الابن، النائب", "given": "النائب", "family": "السيد أحمد رامي نجيب محفوظ أبو الأغا", "suffix": "الابن", "initials": "ا. ا. أ. ر. ن. م. ا.", "generation": "الابن"} -{"name": "العامر، كمال مجدي", "order": "FAMILY_FIRST", "given": "كمال", "middle": "مجدي", "family": "العامر", "initials": "ك. م. ا."} -{"name": "النجار، سميرة", "order": "FAMILY_FIRST", "given": "سميرة", "family": "النجار", "initials": "س. ا."} -{"name": "امید رضا ملایری", "given": "امید", "middle": "رضا", "family": "ملایری", "initials": "ا. ر. م."} -{"name": "انو آغا", "given": "انو", "family": "آغا", "initials": "ا. آ."} -{"name": "انیتا اگنی ہوتری", "given": "انیتا", "middle": "اگنی", "family": "ہوتری", "initials": "ا. ا. ہ."} -{"name": "اډلر ارین", "order": "FAMILY_FIRST", "given": "ارین", "family": "اډلر", "initials": "ا. ا."} -{"name": "بالقىباي ماقسات", "order": "FAMILY_FIRST", "given": "ماقسات", "family": "بالقىباي", "initials": "م. ب."} -{"name": "بالقىباي، ماقسات توقماحامبەتۇلى", "order": "FAMILY_FIRST", "given": "ماقسات", "middle": "توقماحامبەتۇلى", "family": "بالقىباي", "initials": "م. ت. ب."} -{"name": "بروهل، آدا کورنلیا سزار مارتین وان", "order": "FAMILY_FIRST", "given": "آدا", "middle": "کورنلیا سزار مارتین وان", "family": "بروهل", "initials": "آ. ک. س. م. و. ب."} -{"name": "بريۋل، ادا كورنەليا سەزار مارتين فون", "order": "FAMILY_FIRST", "given": "ادا", "middle": "كورنەليا سەزار مارتين فون", "family": "بريۋل", "initials": "ا. ك. س. م. ف. ب."} -{"name": "بهروز بوچانی", "given": "بهروز", "family": "بوچانی", "initials": "ب. ب."} -{"name": "بهمن جلالی", "given": "بهمن", "family": "جلالی", "initials": "ب. ج."} -{"name": "بهيج الخطيب", "given": "بهيج", "family": "الخطيب", "initials": "ب. ا."} -{"name": "جان همیش واټسن", "given": "جان", "middle": "همیش", "family": "واټسن", "initials": "ج. ه. و."} -{"name": "جلال همتی", "given": "جلال", "family": "همتی", "initials": "ج. ه."} -{"name": "جمال محمد", "given": "جمال", "family": "محمد", "initials": "ج. م."} -{"name": "جميل عز الدين", "given": "جميل", "middle": "عز", "family": "الدين", "initials": "ج. ع. ا."} -{"name": "جورج إسحاق", "given": "جورج", "family": "إسحاق", "initials": "ج. إ."} -{"name": "جورج بوش الابن", "given": "جورج", "family": "بوش", "suffix": "الابن", "initials": "ج. ب.", "generation": "الابن"} -{"name": "جورج ميشيل", "given": "جورج", "family": "ميشيل", "initials": "ج. م."} -{"name": "جوزف پال", "given": "جوزف", "family": "پال", "initials": "ج. پ."} -{"name": "جيانيس كريستو", "given": "جيانيس", "family": "كريستو", "initials": "ج. ك."} -{"name": "جيهان السادات", "given": "جيهان", "family": "السادات", "initials": "ج. ا."} -{"name": "جیسی پال", "given": "جیسی", "family": "پال", "initials": "ج. پ."} -{"name": "حاتم علي", "given": "حاتم", "family": "علي", "initials": "ح. ع."} -{"name": "حاتم منصور", "given": "حاتم", "family": "منصور", "initials": "ح. م."} -{"name": "حازم هاشم", "given": "حازم", "family": "هاشم", "initials": "ح. ه."} -{"name": "حسن دانشفر", "given": "حسن", "family": "دانشفر", "initials": "ح. د."} -{"name": "حسن شحاتة", "given": "حسن", "family": "شحاتة", "initials": "ح. ش."} -{"name": "حسن عابدی", "given": "حسن", "family": "عابدی", "initials": "ح. ع."} -{"name": "حسن ناصر", "given": "حسن", "family": "ناصر", "initials": "ح. ن."} -{"name": "حسني سبح", "given": "حسني", "family": "سبح", "initials": "ح. س."} -{"name": "حسين خطاب", "given": "حسين", "family": "خطاب", "initials": "ح. خ."} -{"name": "حسین امینی", "given": "حسین", "family": "امینی", "initials": "ح. ا."} -{"name": "حسین حسینی", "given": "حسین", "family": "حسینی", "initials": "ح. ح."} -{"name": "حكمت هاشم", "given": "حكمت", "family": "هاشم", "initials": "ح. ه."} -{"name": "حليم بركات", "given": "حليم", "family": "بركات", "initials": "ح. ب."} -{"name": "حمدان شلبي", "given": "حمدان", "family": "شلبي", "initials": "ح. ش."} -{"name": "حمدي الحريري", "given": "حمدي", "family": "الحريري", "initials": "ح. ا."} -{"name": "حميدة الطاهر", "given": "حميدة", "family": "الطاهر", "initials": "ح. ا."} -{"name": "حنیف خان", "given": "حنیف", "family": "خان", "initials": "ح. خ."} -{"name": "خالد عزيز", "given": "خالد", "family": "عزيز", "initials": "خ. ع."} -{"name": "خان مریم نواز", "order": "FAMILY_FIRST", "given": "مریم", "middle": "نواز", "family": "خان", "initials": "م. ن. خ."} -{"name": "خان، مریم نواز", "order": "FAMILY_FIRST", "given": "مریم", "middle": "نواز", "family": "خان", "initials": "م. ن. خ."} -{"name": "خضر الأحمد", "given": "خضر", "family": "الأحمد", "initials": "خ. ا."} -{"name": "دلیپ کور ٹوانہ", "given": "دلیپ", "middle": "کور", "family": "ٹوانہ", "initials": "د. ک. ٹ."} -{"name": "رائد المتني", "given": "رائد", "family": "المتني", "initials": "ر. ا."} -{"name": "رامي مخلوف", "given": "رامي", "family": "مخلوف", "initials": "ر. م."} -{"name": "رجاء يوسف", "given": "رجاء", "family": "يوسف", "initials": "ر. ي."} -{"name": "رستگار، آقای امیر هوشنگ دکتر", "order": "FAMILY_FIRST", "title": "آقای", "given": "امیر", "middle": "هوشنگ دکتر", "family": "رستگار", "initials": "ا. ه. د. ر."} -{"name": "رستگار، امیر هوشنگ", "order": "FAMILY_FIRST", "given": "امیر", "middle": "هوشنگ", "family": "رستگار", "initials": "ا. ه. ر."} -{"name": "رشاد رشدي", "given": "رشاد", "family": "رشدي", "initials": "ر. ر."} -{"name": "رمضان ديب", "given": "رمضان", "family": "ديب", "initials": "ر. د."} -{"name": "رنا أحمد", "given": "رنا", "family": "أحمد", "initials": "ر. أ."} -{"name": "ريما الجفالي", "given": "ريما", "family": "الجفالي", "initials": "ر. ا."} -{"name": "رینوکا شرما", "given": "رینوکا", "family": "شرما", "initials": "ر. ش."} -{"name": "زازیلیا هایمیش استوبر", "given": "زازیلیا", "middle": "هایمیش", "family": "استوبر", "initials": "ز. ه. ا."} -{"name": "زكي مبارك", "given": "زكي", "family": "مبارك", "initials": "ز. م."} -{"name": "زكية إبراهيم", "given": "زكية", "family": "إبراهيم", "initials": "ز. إ."} -{"name": "زيزيليا ھئمش اسٽوبر", "given": "زيزيليا", "middle": "ھئمش", "family": "اسٽوبر", "initials": "ز. ھ. ا."} -{"name": "زيزينيا هاميش ستوبر", "given": "زيزينيا", "middle": "هاميش", "family": "ستوبر", "initials": "ز. ه. س."} -{"name": "زیزیلیا همیش سټوبر", "given": "زیزیلیا", "middle": "همیش", "family": "سټوبر", "initials": "ز. ه. س."} -{"name": "سارہ خان", "given": "سارہ", "family": "خان", "initials": "س. خ."} -{"name": "سامانتا", "given": "سامانتا", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "س."} -{"name": "سامانتا", "order": "FAMILY_FIRST", "given": "سامانتا", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "س."} -{"name": "سامي الكيالي", "given": "سامي", "family": "الكيالي", "initials": "س. ا."} -{"name": "ستوبر، زيزينيا هاميش", "order": "FAMILY_FIRST", "given": "زيزينيا", "middle": "هاميش", "family": "ستوبر", "initials": "ز. ه. س."} -{"name": "ستیش شرما", "given": "ستیش", "family": "شرما", "initials": "س. ش."} -{"name": "سحر كامل", "given": "سحر", "family": "كامل", "initials": "س. ك."} -{"name": "سعدیہ خان", "given": "سعدیہ", "family": "خان", "initials": "س. خ."} -{"name": "سعدیہ دہلوی", "given": "سعدیہ", "family": "دہلوی", "initials": "س. د."} -{"name": "سعيد حماد", "given": "سعيد", "family": "حماد", "initials": "س. ح."} -{"name": "سعيد عبد الله", "given": "سعيد", "family": "عبد الله", "initials": "س. ع. ا."} -{"name": "سلام امینی", "given": "سلام", "family": "امینی", "initials": "س. ا."} -{"name": "سلطان البرقان", "given": "سلطان", "family": "البرقان", "initials": "س. ا."} -{"name": "سلمان, محمد", "given": "محمد", "family": "سلمان", "initials": "م. س."} -{"name": "سلمان،", "given": "سلمان", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "س."} -{"name": "سلمان، محمد", "given": "محمد", "family": "سلمان", "initials": "م. س."} -{"name": "سليمان الجوخدار", "given": "سليمان", "family": "الجوخدار", "initials": "س. ا."} -{"name": "سمر عبد العزيز", "given": "سمر", "family": "عبد العزيز", "initials": "س. ع. ا."} -{"name": "سمير سرور", "given": "سمير", "family": "سرور", "initials": "س. س."} -{"name": "سميرة النجار", "given": "سميرة", "family": "النجار", "initials": "س. ا."} -{"name": "سميرة خاشقجي", "given": "سميرة", "family": "خاشقجي", "initials": "س. خ."} -{"name": "سميرة عزت", "given": "سميرة", "family": "عزت", "initials": "س. ع."} -{"name": "سنباد", "given": "سنباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "س."} -{"name": "سنباد", "order": "FAMILY_FIRST", "given": "سنباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "س."} -{"name": "سندباد", "given": "سندباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "س."} -{"name": "سندباد", "order": "FAMILY_FIRST", "given": "سندباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "س."} -{"name": "سهيل الغزي", "given": "سهيل", "family": "الغزي", "initials": "س. ا."} -{"name": "سوسن ربيع", "given": "سوسن", "family": "ربيع", "initials": "س. ر."} -{"name": "سيد كريم", "given": "سيد", "family": "كريم", "initials": "س. ك."} -{"name": "سينباد", "given": "سينباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "س."} -{"name": "سينباد", "order": "FAMILY_FIRST", "given": "سينباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "س."} -{"name": "سټوبر زیزیلیا همیش", "order": "FAMILY_FIRST", "given": "زیزیلیا", "middle": "همیش", "family": "سټوبر", "initials": "ز. ه. س."} -{"name": "سید عبد الکریم عبد الحمید ایم پی", "order": "FAMILY_FIRST", "given": "عبد الکریم", "middle": "عبد الحمید ایم پی", "family": "سید", "initials": "ع. ا. ع. ا. ا. پ. س."} -{"name": "سید، عبد الکریم عبد الحمید ایم پی", "order": "FAMILY_FIRST", "given": "عبد الکریم", "middle": "عبد الحمید ایم پی", "family": "سید", "initials": "ع. ا. ع. ا. ا. پ. س."} -{"name": "سیروس قهرمانی", "given": "سیروس", "family": "قهرمانی", "initials": "س. ق."} -{"name": "سیروس گرجستانی", "given": "سیروس", "family": "گرجستانی", "initials": "س. گ."} -{"name": "سەسيليا شتوبەر", "given": "سەسيليا", "family": "شتوبەر", "initials": "س. ش."} -{"name": "شازیہ اصغر", "given": "شازیہ", "family": "اصغر", "initials": "ش. ا."} -{"name": "شاہدہ رضا", "given": "شاہدہ", "family": "رضا", "initials": "ش. ر."} -{"name": "شاہین رضا", "given": "شاہین", "family": "رضا", "initials": "ش. ر."} -{"name": "شبیر اختر", "given": "شبیر", "family": "اختر", "initials": "ش. ا."} -{"name": "شتوبەر سەسيليا", "order": "FAMILY_FIRST", "given": "سەسيليا", "family": "شتوبەر", "initials": "س. ش."} -{"name": "شتوبەر، سەسيليا حەمىش", "order": "FAMILY_FIRST", "given": "سەسيليا", "middle": "حەمىش", "family": "شتوبەر", "initials": "س. ح. ش."} -{"name": "شهره آغداشلو", "given": "شهره", "family": "آغداشلو", "initials": "ش. آ."} -{"name": "شيماء الصباغ", "given": "شيماء", "family": "الصباغ", "initials": "ش. ا."} -{"name": "صابری محمد ہاشم", "order": "FAMILY_FIRST", "given": "محمد", "middle": "ہاشم", "family": "صابری", "initials": "م. ہ. ص."} -{"name": "صابری، محمد ہاشم", "order": "FAMILY_FIRST", "given": "محمد", "middle": "ہاشم", "family": "صابری", "initials": "م. ہ. ص."} -{"name": "صالح اسدی", "given": "صالح", "family": "اسدی", "initials": "ص. ا."} -{"name": "صالح اللحيدان", "given": "صالح", "family": "اللحيدان", "initials": "ص. ا."} -{"name": "صالح خالد الشهري", "given": "صالح", "middle": "خالد", "family": "الشهري", "initials": "ص. خ. ا."} -{"name": "صلاح المُولَّد", "given": "صلاح", "family": "المُولَّد", "initials": "ص. ا."} -{"name": "صنع الله إبراهيم", "given": "صنع", "middle": "الله", "family": "إبراهيم", "initials": "ص. ا. إ."} -{"name": "طارق سلامة", "given": "طارق", "family": "سلامة", "initials": "ط. س."} -{"name": "طارق عبد العزيز", "given": "طارق", "family": "عبد العزيز", "initials": "ط. ع. ا."} -{"name": "طارق فتح", "given": "طارق", "family": "فتح", "initials": "ط. ف."} -{"name": "طاہر داوڑ", "given": "طاہر", "family": "داوڑ", "initials": "ط. د."} -{"name": "طلعت زكريا", "given": "طلعت", "family": "زكريا", "initials": "ط. ز."} -{"name": "عائشة ذو الغنى", "given": "عائشة", "middle": "ذو", "family": "الغنى", "initials": "ع. ذ. ا."} -{"name": "عادل التويجري", "given": "عادل", "family": "التويجري", "initials": "ع. ا."} -{"name": "عارف علوی", "given": "عارف", "family": "علوی", "initials": "ع. ع."} -{"name": "عارف وزیر", "given": "عارف", "family": "وزیر", "initials": "ع. و."} -{"name": "عالي القرشي", "given": "عالي", "family": "القرشي", "initials": "ع. ا."} -{"name": "عباس شفیعی", "given": "عباس", "family": "شفیعی", "initials": "ع. ش."} -{"name": "عباس وفایی", "given": "عباس", "family": "وفایی", "initials": "ع. و."} -{"name": "عباس کریمی", "given": "عباس", "family": "کریمی", "initials": "ع. ک."} -{"name": "عبد الأكرم السقَّا", "given": "عبد الأكرم", "family": "السقَّا", "initials": "ع. ا. ا."} -{"name": "عبد الإله نبهان", "given": "عبد الإله", "family": "نبهان", "initials": "ع. ا. ن."} -{"name": "عبد الباسط بدر", "given": "عبد الباسط", "family": "بدر", "initials": "ع. ا. ب."} -{"name": "عبد الجبار الضحاك", "given": "عبد الجبار", "family": "الضحاك", "initials": "ع. ا. ا."} -{"name": "عبد الحليم قدور", "given": "عبد الحليم", "family": "قدور", "initials": "ع. ا. ق."} -{"name": "عبد الرحمن السديس", "given": "عبد الرحمن", "family": "السديس", "initials": "ع. ا. ا."} -{"name": "عبد الرحمن العجلان", "given": "عبد الرحمن", "family": "العجلان", "initials": "ع. ا. ا."} -{"name": "عبد الرحيم منصور", "given": "عبد الرحيم", "family": "منصور", "initials": "ع. ا. م."} -{"name": "عبد الستار إبراهيم", "given": "عبد الستار", "family": "إبراهيم", "initials": "ع. ا. إ."} -{"name": "عبد العزيز الربيعي", "given": "عبد العزيز", "family": "الربيعي", "initials": "ع. ا. ا."} -{"name": "عبد القدوس أبو صالح", "given": "عبد القدوس", "family": "أبو صالح", "initials": "ع. ا. ص."} -{"name": "عبد اللطيف عبد الحميد", "given": "عبد اللطيف", "family": "عبد الحميد", "initials": "ع. ا. ع. ا."} -{"name": "عبد الله", "given": "عبد", "family": "الله", "initials": "ع. ا."} -{"name": "عبد الله الحقيل", "given": "عبد الله", "family": "الحقيل", "initials": "ع. ا. ا."} -{"name": "عبد الله حسن, علي", "given": "علي", "family": "عبد الله حسن", "initials": "ع. ع. ا. ح."} -{"name": "عبد الهادي الباني", "given": "عبد الهادي", "family": "الباني", "initials": "ع. ا. ا."} -{"name": "عبد الوكيل الهاشمي", "given": "عبد الوكيل", "family": "الهاشمي", "initials": "ع. ا. ا."} -{"name": "عبد الکریم عبد الحمید سید ایم پی", "given": "عبد الکریم", "middle": "عبد الحمید سید ایم", "family": "پی", "initials": "ع. ا. ع. ا. س. ا. پ."} -{"name": "عثمان آل حميد", "given": "عثمان", "family": "آل حميد", "initials": "ع. ح."} -{"name": "عدلو، آیتین", "order": "FAMILY_FIRST", "given": "آیتین", "family": "عدلو", "initials": "آ. ع."} -{"name": "عدنان بركات", "given": "عدنان", "family": "بركات", "initials": "ع. ب."} -{"name": "عدنان خاشقجي", "given": "عدنان", "family": "خاشقجي", "initials": "ع. خ."} -{"name": "عدنان مصطفى", "given": "عدنان", "family": "مصطفى", "initials": "ع. م."} -{"name": "عرفان خان", "given": "عرفان", "family": "خان", "initials": "ع. خ."} -{"name": "عرفان صدیقی", "given": "عرفان", "family": "صدیقی", "initials": "ع. ص."} -{"name": "عزت‌الله انتظامی", "given": "عزت‌الله", "family": "انتظامی", "initials": "ع. ا."} -{"name": "علي الرواس", "given": "علي", "family": "الرواس", "initials": "ع. ا."} -{"name": "علي القرني", "given": "علي", "family": "القرني", "initials": "ع. ا."} -{"name": "علي عبد الکریم", "given": "علي", "family": "عبد الکریم", "initials": "ع. ع. ا."} -{"name": "علی حاتمی", "given": "علی", "family": "حاتمی", "initials": "ع. ح."} -{"name": "علیرضا بیرانوند", "given": "علیرضا", "family": "بیرانوند", "initials": "ع. ب."} -{"name": "علی‌اصغر زارعی", "given": "علی‌اصغر", "family": "زارعی", "initials": "ع. ز."} -{"name": "علی‌اکبر حیدری", "given": "علی‌اکبر", "family": "حیدری", "initials": "ع. ح."} -{"name": "عمران خان", "given": "عمران", "family": "خان", "initials": "ع. خ."} -{"name": "غادة السمان", "given": "غادة", "family": "السمان", "initials": "غ. ا."} -{"name": "غسان جبري", "given": "غسان", "family": "جبري", "initials": "غ. ج."} -{"name": "غلام اللہ خان", "given": "غلام", "middle": "اللہ", "family": "خان", "initials": "غ. ا. خ."} -{"name": "فائق عرقسُوسي", "given": "فائق", "family": "عرقسُوسي", "initials": "ف. ع."} -{"name": "فاروق خورشيد", "given": "فاروق", "family": "خورشيد", "initials": "ف. خ."} -{"name": "فاروق عطية", "given": "فاروق", "family": "عطية", "initials": "ف. ع."} -{"name": "فايزة حسين", "given": "فايزة", "family": "حسين", "initials": "ف. ح."} -{"name": "فتحي قورة", "given": "فتحي", "family": "قورة", "initials": "ف. ق."} -{"name": "فتح‌الله بنی‌صدر", "given": "فتح‌الله", "family": "بنی‌صدر", "initials": "ف. ب."} -{"name": "فرح خان", "given": "فرح", "family": "خان", "initials": "ف. خ."} -{"name": "فريد الأطرش", "given": "فريد", "family": "الأطرش", "initials": "ف. ا."} -{"name": "فریدون ابراهیمی", "given": "فریدون", "family": "ابراهیمی", "initials": "ف. ا."} -{"name": "فون برول، عايدة كورنيليا سيزار مارتن", "order": "FAMILY_FIRST", "given": "عايدة", "middle": "كورنيليا سيزار مارتن", "family": "فون برول", "initials": "ع. ك. س. م. ف. ب."} -{"name": "فون بريۋل ادا كورنەليا", "order": "FAMILY_FIRST", "given": "بريۋل", "middle": "ادا كورنەليا", "family": "فون", "initials": "ب. ا. ك. ف."} -{"name": "قالاجان قايرات", "given": "قالاجان", "family": "قايرات", "initials": "ق. ق."} -{"name": "قايرات قالاجان", "order": "FAMILY_FIRST", "given": "قالاجان", "family": "قايرات", "initials": "ق. ق."} -{"name": "قايرات، قالاجان", "order": "FAMILY_FIRST", "given": "قالاجان", "family": "قايرات", "initials": "ق. ق."} -{"name": "كاثرين مولر", "given": "كاثرين", "family": "مولر", "initials": "ك. م."} -{"name": "كارىباي مۇرات", "order": "FAMILY_FIRST", "given": "مۇرات", "family": "كارىباي", "initials": "م. ك."} -{"name": "كارىباي، مۇرات", "order": "FAMILY_FIRST", "given": "مۇرات", "family": "كارىباي", "initials": "م. ك."} -{"name": "كمال مجدي العامر", "given": "كمال", "middle": "مجدي", "family": "العامر", "initials": "ك. م. ا."} -{"name": "كەيت مۇللەر", "given": "كەيت", "family": "مۇللەر", "initials": "ك. م."} -{"name": "لطفي لبيب", "given": "لطفي", "family": "لبيب", "initials": "ل. ل."} -{"name": "لويس جريس", "given": "لويس", "family": "جريس", "initials": "ل. ج."} -{"name": "مازن المبارك", "given": "مازن", "family": "المبارك", "initials": "م. ا."} -{"name": "ماقسات بالقىباي", "given": "ماقسات", "family": "بالقىباي", "initials": "م. ب."} -{"name": "مانی شرما", "given": "مانی", "family": "شرما", "initials": "م. ش."} -{"name": "محترم برٽرم ولبرفورس ھينري رابرٽ ووسٽر ايم پي", "given": "محترم", "middle": "برٽرم ولبرفورس ھينري رابرٽ ووسٽر ايم", "family": "پي", "initials": "م. ب. و. ھ. ر. و. ا. پ."} -{"name": "محمد البغدادي", "given": "محمد", "family": "البغدادي", "initials": "م. ا."} -{"name": "محمد الزعبي", "given": "محمد", "family": "الزعبي", "initials": "م. ا."} -{"name": "محمد بن سلمان", "given": "محمد", "family": "بن سلمان", "initials": "م. س.", "patronymic": "بن سلمان"} -{"name": "محمد خاتمی", "given": "محمد", "family": "خاتمی", "initials": "م. خ."} -{"name": "محمد دهمان", "given": "محمد", "family": "دهمان", "initials": "م. د."} -{"name": "محمد سليم الحلواني", "given": "محمد", "middle": "سليم", "family": "الحلواني", "initials": "م. س. ا."} -{"name": "محمد سليمان", "given": "محمد", "family": "سليمان", "initials": "م. س."} -{"name": "محمد ضياء الدين الصابوني", "given": "محمد", "middle": "ضياء الدين", "family": "الصابوني", "initials": "م. ض. ا. ا."} -{"name": "محمد عبد القريشي", "given": "محمد", "middle": "عبد", "family": "القريشي", "initials": "م. ع. ا."} -{"name": "محمد عبد الله أحمد", "given": "محمد", "middle": "عبد الله", "family": "أحمد", "initials": "م. ع. ا. أ."} -{"name": "محمد عطا", "given": "محمد", "family": "عطا", "initials": "م. ع."} -{"name": "محمد علي MD حسن", "given": "محمد", "family": "علي", "suffix": "MD حسن", "ambiguities": ["SUFFIX_OR_NAME"], "alternatives": ["SUFFIX_OR_NAME: name as family (position)"], "initials": "م. ع."} -{"name": "محمد علي و", "given": "محمد", "family": "علي و", "initials": "م. ع."} -{"name": "محمد نبيه المسيري", "given": "محمد", "middle": "نبيه", "family": "المسيري", "initials": "م. ن. ا."} -{"name": "محمد و علي", "given": "محمد", "middle": "و", "family": "علي", "initials": "م. و. ع."} -{"name": "محمد کوثری", "given": "محمد", "family": "کوثری", "initials": "م. ک."} -{"name": "محمد ہاشم صابری", "given": "محمد", "middle": "ہاشم", "family": "صابری", "initials": "م. ہ. ص."} -{"name": "محمدتقی شریعتی", "given": "محمدتقی", "family": "شریعتی", "initials": "م. ش."} -{"name": "محمدعلی حفیظی", "given": "محمدعلی", "family": "حفیظی", "initials": "م. ح."} -{"name": "محمدعلی ییلاقی اشرفی", "given": "محمدعلی", "middle": "ییلاقی", "family": "اشرفی", "initials": "م. ی. ا."} -{"name": "محمود الزعبي", "given": "محمود", "family": "الزعبي", "initials": "م. ا."} -{"name": "محمود جركس", "given": "محمود", "family": "جركس", "initials": "م. ج."} -{"name": "محمود شاكر", "given": "محمود", "family": "شاكر", "initials": "م. ش."} -{"name": "محمود فروغی", "given": "محمود", "family": "فروغی", "initials": "م. ف."} -{"name": "مريم صالح", "given": "مريم", "family": "صالح", "initials": "م. ص."} -{"name": "مریم نواز خان", "given": "مریم", "middle": "نواز", "family": "خان", "initials": "م. ن. خ."} -{"name": "مصطفى خليل", "given": "مصطفى", "family": "خليل", "initials": "م. خ."} -{"name": "ملایری، امید رضا", "order": "FAMILY_FIRST", "given": "امید", "middle": "رضا", "family": "ملایری", "initials": "ا. ر. م."} -{"name": "ملر ڪئٿي", "order": "FAMILY_FIRST", "given": "ڪئٿي", "family": "ملر", "initials": "ڪ. م."} -{"name": "منال الشريف", "given": "منال", "family": "الشريف", "initials": "م. ا."} -{"name": "منصور حاتم", "order": "FAMILY_FIRST", "given": "حاتم", "family": "منصور", "initials": "ح. م."} -{"name": "منصور، حاتم", "order": "FAMILY_FIRST", "given": "حاتم", "family": "منصور", "initials": "ح. م."} -{"name": "منير", "given": "منير", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "م."} -{"name": "منير", "order": "FAMILY_FIRST", "given": "منير", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "م."} -{"name": "مها عامر", "given": "مها", "family": "عامر", "initials": "م. ع."} -{"name": "موفق الخاني", "given": "موفق", "family": "الخاني", "initials": "م. ا."} -{"name": "مولر کیتی", "order": "FAMILY_FIRST", "given": "کیتی", "family": "مولر", "initials": "ک. م."} -{"name": "مولر، كاثرين", "order": "FAMILY_FIRST", "given": "كاثرين", "family": "مولر", "initials": "ك. م."} -{"name": "مولر، کاتیا", "order": "FAMILY_FIRST", "given": "کاتیا", "family": "مولر", "initials": "ک. م."} -{"name": "ميري سيو ھامش واٽسن", "given": "ميري", "middle": "سيو ھامش", "family": "واٽسن", "initials": "م. س. ھ. و."} -{"name": "مُحمَّد علي محجوب", "given": "مُحمَّد", "middle": "علي", "family": "محجوب", "initials": "م. ع. م."} -{"name": "مُحَمَّد بِن سَلمان", "given": "مُحَمَّد", "middle": "بِن", "family": "سَلمان", "initials": "م. ب. س."} -{"name": "مُوفَّق دعبول", "given": "مُوفَّق", "family": "دعبول", "initials": "م. د."} -{"name": "مۇرات كارىباي", "given": "مۇرات", "family": "كارىباي", "initials": "م. ك."} -{"name": "مۇللەر كەيت", "order": "FAMILY_FIRST", "given": "كەيت", "family": "مۇللەر", "initials": "ك. م."} -{"name": "مۇللەر، كەيت", "order": "FAMILY_FIRST", "given": "كەيت", "family": "مۇللەر", "initials": "ك. م."} -{"name": "نادية زغلول", "given": "نادية", "family": "زغلول", "initials": "ن. ز."} -{"name": "نادیہ خان", "given": "نادیہ", "family": "خان", "initials": "ن. خ."} -{"name": "ناصر الأنصاري", "given": "ناصر", "family": "الأنصاري", "initials": "ن. ا."} -{"name": "ناہید اختر", "given": "ناہید", "family": "اختر", "initials": "ن. ا."} -{"name": "نبيل درويش", "given": "نبيل", "family": "درويش", "initials": "ن. د."} -{"name": "نبيل فهمي", "given": "نبيل", "family": "فهمي", "initials": "ن. ف."} -{"name": "نبيهة حداد", "given": "نبيهة", "family": "حداد", "initials": "ن. ح."} -{"name": "ندیم رضا یاسمین راشد سدرہ منیر ایم ڈی ڈی ڈی ایس", "order": "FAMILY_FIRST", "given": "رضا", "middle": "یاسمین راشد سدرہ منیر ایم ڈی ڈی ڈی ایس", "family": "ندیم", "initials": "ر. ی. ر. س. م. ا. ڈ. ڈ. ڈ. ا. ن."} -{"name": "ندیم رضا، یاسمین راشد سدرہ منیر ایم ڈی ڈی ڈی ایس", "order": "FAMILY_FIRST", "given": "یاسمین", "middle": "راشد سدرہ منیر ایم ڈی ڈی ڈی ایس", "family": "ندیم رضا", "initials": "ی. ر. س. م. ا. ڈ. ڈ. ڈ. ا. ن. ر."} -{"name": "نسرين طافش", "given": "نسرين", "family": "طافش", "initials": "ن. ط."} -{"name": "نعيم عيسى", "given": "نعيم", "family": "عيسى", "initials": "ن. ع."} -{"name": "نهلة القدسي", "given": "نهلة", "family": "القدسي", "initials": "ن. ا."} -{"name": "نوال عبد هاشم", "given": "نوال", "middle": "عبد", "family": "هاشم", "initials": "ن. ع. ه."} -{"name": "نور الدين عتر", "given": "نور", "middle": "الدين", "family": "عتر", "initials": "ن. ا. ع."} -{"name": "نورس عبد الواحد", "given": "نورس", "family": "عبد الواحد", "initials": "ن. ع. ا."} -{"name": "هالة شكر الله", "given": "هالة", "middle": "شكر", "family": "الله", "initials": "ه. ش. ا."} -{"name": "هدى شعراوي", "given": "هدى", "family": "شعراوي", "initials": "ه. ش."} -{"name": "هدى عابدين", "given": "هدى", "family": "عابدين", "initials": "ه. ع."} -{"name": "هشام حافظ", "given": "هشام", "family": "حافظ", "initials": "ه. ح."} -{"name": "هشام سليم", "given": "هشام", "family": "سليم", "initials": "ه. س."} -{"name": "هشام عباس", "given": "هشام", "family": "عباس", "initials": "ه. ع."} -{"name": "هشام فؤاد", "given": "هشام", "family": "فؤاد", "initials": "ه. ف."} -{"name": "وان برل گونزالس ڊومنگو پروفيسر ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن ايم ڊي ڊي ڊي ايس", "order": "FAMILY_FIRST", "given": "برل", "middle": "گونزالس ڊومنگو پروفيسر ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن ايم ڊي ڊي ڊي ايس", "family": "وان", "initials": "ب. گ. ڊ. پ. ڊ. ا. ڪ. س. م. ا. ڊ. ڊ. ڊ. ا. و."} -{"name": "وان برل گونزالس ڊومنگو, پروفيسر ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن ايم ڊي ڊي ڊي ايس", "given": "پروفيسر", "middle": "ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن ايم ڊي ڊي ڊي ايس", "family": "وان برل گونزالس ڊومنگو", "initials": "پ. ڊ. ا. ڪ. س. م. ا. ڊ. ڊ. ڊ. ا. و. ب. گ. ڊ."} -{"name": "وان بروهل، پروفسور آدا کورنلیا سزار مارتین جونیور، دکترای دندانپزشکی", "order": "FAMILY_FIRST", "given": "پروفسور", "middle": "آدا کورنلیا سزار مارتین", "family": "وان بروهل", "suffix": "جونیور, دکترای دندانپزشکی", "ambiguities": ["COMMA_STRUCTURE"], "initials": "پ. آ. ک. س. م. و. ب.", "generation": "جونیور", "credentials": "دکترای دندانپزشکی"} -{"name": "واټسن جان همیش", "order": "FAMILY_FIRST", "given": "جان", "middle": "همیش", "family": "واټسن", "initials": "ج. ه. و."} -{"name": "واٽسن ميري سيو ھامش", "order": "FAMILY_FIRST", "given": "ميري", "middle": "سيو ھامش", "family": "واٽسن", "initials": "م. س. ھ. و."} -{"name": "وداد أنطوان", "given": "وداد", "family": "أنطوان", "initials": "و. أ."} -{"name": "وديع بشور", "given": "وديع", "family": "بشور", "initials": "و. ب."} -{"name": "وليد الشهري", "given": "وليد", "family": "الشهري", "initials": "و. ا."} -{"name": "ووسټر ښاغلی. برټرام ولبرفورس هنري رابرټ ایم پی", "order": "FAMILY_FIRST", "given": "ښاغلی.", "middle": "برټرام ولبرفورس هنري رابرټ ایم پی", "family": "ووسټر", "initials": "ښ. ب. و. ه. ر. ا. پ. و."} -{"name": "ووسٽر محترم برٽرم ولبرفورس ھينري رابرٽ ايم پي", "order": "FAMILY_FIRST", "given": "محترم", "middle": "برٽرم ولبرفورس ھينري رابرٽ ايم پي", "family": "ووسٽر", "initials": "م. ب. و. ھ. ر. ا. پ. و."} -{"name": "وون لیوه بیکر شمیت پروفیسور ډاکټر اډا کورنیلیا ایوا سوفیا ایم ‌ډی ډیی ډیی ایس", "order": "FAMILY_FIRST", "given": "لیوه", "middle": "بیکر شمیت پروفیسور ډاکټر اډا کورنیلیا ایوا سوفیا ایم ‌ډی ډیی ډیی ایس", "family": "وون", "initials": "ل. ب. ش. پ. ډ. ا. ک. ا. س. ا. ‌. ډ. ډ. ا. و."} -{"name": "وون لیوه بیکر شمیت, پروفیسور ډاکټر اډا کورنیلیا ایوا سوفیا ایم ‌ډی ډیی ډیی ایس", "given": "پروفیسور", "middle": "ډاکټر اډا کورنیلیا ایوا سوفیا ایم ‌ډی ډیی ډیی ایس", "family": "وون لیوه بیکر شمیت", "initials": "پ. ډ. ا. ک. ا. س. ا. ‌. ډ. ډ. ا. و. ل. ب. ش."} -{"name": "يوسف إدريس", "given": "يوسف", "family": "إدريس", "initials": "ي. إ."} -{"name": "يوسف السالم", "given": "يوسف", "family": "السالم", "initials": "ي. ا."} -{"name": "يوسف مكي", "given": "يوسف", "family": "مكي", "initials": "ي. م."} -{"name": "پردیس افکاری", "given": "پردیس", "family": "افکاری", "initials": "پ. ا."} -{"name": "پروفسور آدا کورنلیا سزار مارتین وان بروهل جونیور، دکترای دندانپزشکی", "given": "دکترای", "middle": "دندانپزشکی", "family": "پروفسور آدا کورنلیا سزار مارتین وان بروهل", "suffix": "جونیور", "initials": "د. د. پ. آ. ک. س. م. و. ب.", "generation": "جونیور"} -{"name": "پروفيسر ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن وان برل گونزالس ڊومنگو ايم ڊي ڊي ڊي ايس", "given": "پروفيسر", "middle": "ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن وان برل گونزالس ڊومنگو ايم ڊي ڊي ڊي", "family": "ايس", "initials": "پ. ڊ. ا. ڪ. س. م. و. ب. گ. ڊ. ا. ڊ. ڊ. ڊ. ا."} -{"name": "پروفیسور ډاکټر اډا کورنیلیا ایوا سوفیا وون لیوه بیکر شمیت ایم ‌ډی ډیی ډیی ایس", "given": "پروفیسور", "middle": "ډاکټر اډا کورنیلیا ایوا سوفیا وون لیوه بیکر شمیت ایم ‌ډی ډیی ډیی", "family": "ایس", "initials": "پ. ډ. ا. ک. ا. س. و. ل. ب. ش. ا. ‌. ډ. ډ. ا."} -{"name": "ژیلا", "given": "ژیلا", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "ژ."} -{"name": "ژیلا", "order": "FAMILY_FIRST", "given": "ژیلا", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"], "initials": "ژ."} -{"name": "ښاغلی. برټرام ولبرفورس هنري رابرټ ووسټر ایم پی", "title": "ښاغلی.", "given": "برټرام", "middle": "ولبرفورس هنري رابرټ ووسټر ایم", "family": "پی", "initials": "ب. و. ه. ر. و. ا. پ."} -{"name": "کاتیا مولر", "given": "کاتیا", "family": "مولر", "initials": "ک. م."} -{"name": "کمال ایرانی", "given": "کمال", "family": "ایرانی", "initials": "ک. ا."} -{"name": "کیتی مولر", "given": "کیتی", "family": "مولر", "initials": "ک. م."} -{"name": "کیوان وحدانی", "given": "کیوان", "family": "وحدانی", "initials": "ک. و."} -{"name": "ڪئٿي ملر", "given": "ڪئٿي", "family": "ملر", "initials": "ڪ. م."} -{"name": "ہاشم خان", "given": "ہاشم", "family": "خان", "initials": "ہ. خ."} -{"name": "یاسمین راشد سدرہ منیر ندیم رضا ایم ڈی ڈی ڈی ایس", "given": "یاسمین", "middle": "راشد سدرہ منیر ندیم رضا ایم ڈی ڈی ڈی", "family": "ایس", "initials": "ی. ر. س. م. ن. ر. ا. ڈ. ڈ. ڈ. ا."} +{"name": "آئرين ائڊلر", "given": "آئرين", "family": "ائڊلر"} +{"name": "آقای امیر هوشنگ رستگار دکتر", "title": "آقای", "given": "امیر", "middle": "هوشنگ رستگار", "family": "دکتر"} +{"name": "آمال فهمي", "given": "آمال", "family": "فهمي"} +{"name": "آیتین عدلو", "given": "آیتین", "family": "عدلو"} +{"name": "أ.د.أحمد علي", "title": "أ.د.", "given": "أحمد", "family": "علي"} +{"name": "أبو الأغا، أحمد رامي نجيب محفوظ", "order": "FAMILY_FIRST", "given": "أحمد", "middle": "رامي نجيب محفوظ", "family": "أبو الأغا"} +{"name": "أبو بكر الشاطري", "given": "أبو بكر", "family": "الشاطري"} +{"name": "أبو بكر سالم", "given": "أبو بكر", "family": "سالم"} +{"name": "أحلام الجريتلي", "given": "أحلام", "family": "الجريتلي"} +{"name": "أحمد حجازي", "given": "أحمد", "family": "حجازي"} +{"name": "أحمد سالم", "given": "أحمد", "family": "سالم"} +{"name": "أحمد علي حسن", "given": "أحمد", "middle": "علي", "family": "حسن"} +{"name": "أحمد قنديل", "given": "أحمد", "family": "قنديل"} +{"name": "أحمد م. علي", "given": "أحمد", "middle": "م.", "family": "علي"} +{"name": "أحمد مصطفى", "given": "أحمد", "family": "مصطفى"} +{"name": "أصالة نصري", "given": "أصالة", "family": "نصري"} +{"name": "أكرم التلاوي", "given": "أكرم", "family": "التلاوي"} +{"name": "أكرم عجة", "given": "أكرم", "family": "عجة"} +{"name": "ألكسندر دارسي", "given": "ألكسندر", "family": "دارسي"} +{"name": "أمجد الطرابلسي", "given": "أمجد", "family": "الطرابلسي"} +{"name": "أمين دابو", "given": "أمين", "family": "دابو"} +{"name": "أمين سامي", "given": "أمين", "family": "سامي"} +{"name": "أمينة رشيد", "given": "أمينة", "family": "رشيد"} +{"name": "أنطوانيت نجيب", "given": "أنطوانيت", "family": "نجيب"} +{"name": "أنطونيوس نجيب", "given": "أنطونيوس", "family": "نجيب"} +{"name": "أيمن الدُّقر", "given": "أيمن", "family": "الدُّقر"} +{"name": "إبراهيم البغدادي", "given": "إبراهيم", "family": "البغدادي"} +{"name": "إبراهيم الغلاييني", "given": "إبراهيم", "family": "الغلاييني"} +{"name": "إبراهيم صالح", "given": "إبراهيم", "family": "صالح"} +{"name": "إحسان الرفاعي", "given": "إحسان", "family": "الرفاعي"} +{"name": "إلهام حسين", "given": "إلهام", "family": "حسين"} +{"name": "إلياس الزيَّات", "given": "إلياس", "family": "الزيَّات"} +{"name": "إيهاب خورشيد", "given": "إيهاب", "family": "خورشيد"} +{"name": "ائڊلر آئرين", "order": "FAMILY_FIRST", "given": "آئرين", "family": "ائڊلر"} +{"name": "احمد", "given": "احمد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "احمد", "order": "FAMILY_FIRST", "given": "احمد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "احمد گلشیری", "given": "احمد", "family": "گلشیری"} +{"name": "اختر رضا خان", "given": "اختر", "middle": "رضا", "family": "خان"} +{"name": "ادا كورنەليا فون بريۋل جۋنيور، ءتىس دارىگەرى", "given": "ءتىس", "middle": "دارىگەرى", "family": "ادا كورنەليا فون بريۋل جۋنيور"} +{"name": "ارین اډلر", "given": "ارین", "family": "اډلر"} +{"name": "استوبر، زازیلیا هایمیش", "order": "FAMILY_FIRST", "given": "زازیلیا", "middle": "هایمیش", "family": "استوبر"} +{"name": "اسٽوبر زيزيليا ھئمش", "order": "FAMILY_FIRST", "given": "زيزيليا", "middle": "ھئمش", "family": "اسٽوبر"} +{"name": "اسەم", "given": "اسەم", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "اسەم", "order": "FAMILY_FIRST", "given": "اسەم", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "اصغر شازیہ", "order": "FAMILY_FIRST", "given": "شازیہ", "family": "اصغر"} +{"name": "اصغر، شازیہ", "order": "FAMILY_FIRST", "given": "شازیہ", "family": "اصغر"} +{"name": "اقبال قریشی", "given": "اقبال", "family": "قریشی"} +{"name": "الدكتور عايدة كورنيليا سيزار مارتن فون برول الإبن، طبيب وجراح", "title": "الدكتور", "given": "طبيب", "middle": "وجراح", "family": "عايدة كورنيليا سيزار مارتن فون برول", "suffix": "الإبن", "generation": "الإبن"} +{"name": "السيد أحمد رامي نجيب محفوظ أبو الأغا الابن، النائب", "given": "النائب", "family": "السيد أحمد رامي نجيب محفوظ أبو الأغا", "suffix": "الابن", "generation": "الابن"} +{"name": "العامر، كمال مجدي", "order": "FAMILY_FIRST", "given": "كمال", "middle": "مجدي", "family": "العامر"} +{"name": "النجار، سميرة", "order": "FAMILY_FIRST", "given": "سميرة", "family": "النجار"} +{"name": "امید رضا ملایری", "given": "امید", "middle": "رضا", "family": "ملایری"} +{"name": "انو آغا", "given": "انو", "family": "آغا"} +{"name": "انیتا اگنی ہوتری", "given": "انیتا", "middle": "اگنی", "family": "ہوتری"} +{"name": "اډلر ارین", "order": "FAMILY_FIRST", "given": "ارین", "family": "اډلر"} +{"name": "بالقىباي ماقسات", "order": "FAMILY_FIRST", "given": "ماقسات", "family": "بالقىباي"} +{"name": "بالقىباي، ماقسات توقماحامبەتۇلى", "order": "FAMILY_FIRST", "given": "ماقسات", "middle": "توقماحامبەتۇلى", "family": "بالقىباي"} +{"name": "بروهل، آدا کورنلیا سزار مارتین وان", "order": "FAMILY_FIRST", "given": "آدا", "middle": "کورنلیا سزار مارتین وان", "family": "بروهل"} +{"name": "بريۋل، ادا كورنەليا سەزار مارتين فون", "order": "FAMILY_FIRST", "given": "ادا", "middle": "كورنەليا سەزار مارتين فون", "family": "بريۋل"} +{"name": "بهروز بوچانی", "given": "بهروز", "family": "بوچانی"} +{"name": "بهمن جلالی", "given": "بهمن", "family": "جلالی"} +{"name": "بهيج الخطيب", "given": "بهيج", "family": "الخطيب"} +{"name": "جان همیش واټسن", "given": "جان", "middle": "همیش", "family": "واټسن"} +{"name": "جلال همتی", "given": "جلال", "family": "همتی"} +{"name": "جمال محمد", "given": "جمال", "family": "محمد"} +{"name": "جميل عز الدين", "given": "جميل", "middle": "عز", "family": "الدين"} +{"name": "جورج إسحاق", "given": "جورج", "family": "إسحاق"} +{"name": "جورج بوش الابن", "given": "جورج", "family": "بوش", "suffix": "الابن", "generation": "الابن"} +{"name": "جورج ميشيل", "given": "جورج", "family": "ميشيل"} +{"name": "جوزف پال", "given": "جوزف", "family": "پال"} +{"name": "جيانيس كريستو", "given": "جيانيس", "family": "كريستو"} +{"name": "جيهان السادات", "given": "جيهان", "family": "السادات"} +{"name": "جیسی پال", "given": "جیسی", "family": "پال"} +{"name": "حاتم علي", "given": "حاتم", "family": "علي"} +{"name": "حاتم منصور", "given": "حاتم", "family": "منصور"} +{"name": "حازم هاشم", "given": "حازم", "family": "هاشم"} +{"name": "حسن دانشفر", "given": "حسن", "family": "دانشفر"} +{"name": "حسن شحاتة", "given": "حسن", "family": "شحاتة"} +{"name": "حسن عابدی", "given": "حسن", "family": "عابدی"} +{"name": "حسن ناصر", "given": "حسن", "family": "ناصر"} +{"name": "حسني سبح", "given": "حسني", "family": "سبح"} +{"name": "حسين خطاب", "given": "حسين", "family": "خطاب"} +{"name": "حسین امینی", "given": "حسین", "family": "امینی"} +{"name": "حسین حسینی", "given": "حسین", "family": "حسینی"} +{"name": "حكمت هاشم", "given": "حكمت", "family": "هاشم"} +{"name": "حليم بركات", "given": "حليم", "family": "بركات"} +{"name": "حمدان شلبي", "given": "حمدان", "family": "شلبي"} +{"name": "حمدي الحريري", "given": "حمدي", "family": "الحريري"} +{"name": "حميدة الطاهر", "given": "حميدة", "family": "الطاهر"} +{"name": "حنیف خان", "given": "حنیف", "family": "خان"} +{"name": "خالد عزيز", "given": "خالد", "family": "عزيز"} +{"name": "خان مریم نواز", "order": "FAMILY_FIRST", "given": "مریم", "middle": "نواز", "family": "خان"} +{"name": "خان، مریم نواز", "order": "FAMILY_FIRST", "given": "مریم", "middle": "نواز", "family": "خان"} +{"name": "خضر الأحمد", "given": "خضر", "family": "الأحمد"} +{"name": "د.أحمد علي حسن", "title": "د.", "given": "أحمد", "middle": "علي", "family": "حسن"} +{"name": "دلیپ کور ٹوانہ", "given": "دلیپ", "middle": "کور", "family": "ٹوانہ"} +{"name": "رائد المتني", "given": "رائد", "family": "المتني"} +{"name": "رامي مخلوف", "given": "رامي", "family": "مخلوف"} +{"name": "رجاء يوسف", "given": "رجاء", "family": "يوسف"} +{"name": "رستگار، آقای امیر هوشنگ دکتر", "order": "FAMILY_FIRST", "title": "آقای", "given": "امیر", "middle": "هوشنگ دکتر", "family": "رستگار"} +{"name": "رستگار، امیر هوشنگ", "order": "FAMILY_FIRST", "given": "امیر", "middle": "هوشنگ", "family": "رستگار"} +{"name": "رشاد رشدي", "given": "رشاد", "family": "رشدي"} +{"name": "رمضان ديب", "given": "رمضان", "family": "ديب"} +{"name": "رنا أحمد", "given": "رنا", "family": "أحمد"} +{"name": "ريما الجفالي", "given": "ريما", "family": "الجفالي"} +{"name": "رینوکا شرما", "given": "رینوکا", "family": "شرما"} +{"name": "زازیلیا هایمیش استوبر", "given": "زازیلیا", "middle": "هایمیش", "family": "استوبر"} +{"name": "زكي مبارك", "given": "زكي", "family": "مبارك"} +{"name": "زكية إبراهيم", "given": "زكية", "family": "إبراهيم"} +{"name": "زيزيليا ھئمش اسٽوبر", "given": "زيزيليا", "middle": "ھئمش", "family": "اسٽوبر"} +{"name": "زيزينيا هاميش ستوبر", "given": "زيزينيا", "middle": "هاميش", "family": "ستوبر"} +{"name": "زیزیلیا همیش سټوبر", "given": "زیزیلیا", "middle": "همیش", "family": "سټوبر"} +{"name": "سارہ خان", "given": "سارہ", "family": "خان"} +{"name": "سامانتا", "given": "سامانتا", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "سامانتا", "order": "FAMILY_FIRST", "given": "سامانتا", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "سامي الكيالي", "given": "سامي", "family": "الكيالي"} +{"name": "ستوبر، زيزينيا هاميش", "order": "FAMILY_FIRST", "given": "زيزينيا", "middle": "هاميش", "family": "ستوبر"} +{"name": "ستیش شرما", "given": "ستیش", "family": "شرما"} +{"name": "سحر كامل", "given": "سحر", "family": "كامل"} +{"name": "سعدیہ خان", "given": "سعدیہ", "family": "خان"} +{"name": "سعدیہ دہلوی", "given": "سعدیہ", "family": "دہلوی"} +{"name": "سعيد حماد", "given": "سعيد", "family": "حماد"} +{"name": "سعيد عبد الله", "given": "سعيد", "family": "عبد الله"} +{"name": "سلام امینی", "given": "سلام", "family": "امینی"} +{"name": "سلطان البرقان", "given": "سلطان", "family": "البرقان"} +{"name": "سلمان, محمد", "given": "محمد", "family": "سلمان"} +{"name": "سلمان،", "given": "سلمان", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "سلمان، محمد", "given": "محمد", "family": "سلمان"} +{"name": "سليمان الجوخدار", "given": "سليمان", "family": "الجوخدار"} +{"name": "سمر عبد العزيز", "given": "سمر", "family": "عبد العزيز"} +{"name": "سمير سرور", "given": "سمير", "family": "سرور"} +{"name": "سميرة النجار", "given": "سميرة", "family": "النجار"} +{"name": "سميرة خاشقجي", "given": "سميرة", "family": "خاشقجي"} +{"name": "سميرة عزت", "given": "سميرة", "family": "عزت"} +{"name": "سنباد", "given": "سنباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "سنباد", "order": "FAMILY_FIRST", "given": "سنباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "سندباد", "given": "سندباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "سندباد", "order": "FAMILY_FIRST", "given": "سندباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "سهيل الغزي", "given": "سهيل", "family": "الغزي"} +{"name": "سوسن ربيع", "given": "سوسن", "family": "ربيع"} +{"name": "سيد كريم", "given": "سيد", "family": "كريم"} +{"name": "سينباد", "given": "سينباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "سينباد", "order": "FAMILY_FIRST", "given": "سينباد", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "سټوبر زیزیلیا همیش", "order": "FAMILY_FIRST", "given": "زیزیلیا", "middle": "همیش", "family": "سټوبر"} +{"name": "سید عبد الکریم عبد الحمید ایم پی", "order": "FAMILY_FIRST", "given": "عبد الکریم", "middle": "عبد الحمید ایم پی", "family": "سید"} +{"name": "سید، عبد الکریم عبد الحمید ایم پی", "order": "FAMILY_FIRST", "given": "عبد الکریم", "middle": "عبد الحمید ایم پی", "family": "سید"} +{"name": "سیروس قهرمانی", "given": "سیروس", "family": "قهرمانی"} +{"name": "سیروس گرجستانی", "given": "سیروس", "family": "گرجستانی"} +{"name": "سەسيليا شتوبەر", "given": "سەسيليا", "family": "شتوبەر"} +{"name": "شازیہ اصغر", "given": "شازیہ", "family": "اصغر"} +{"name": "شاہدہ رضا", "given": "شاہدہ", "family": "رضا"} +{"name": "شاہین رضا", "given": "شاہین", "family": "رضا"} +{"name": "شبیر اختر", "given": "شبیر", "family": "اختر"} +{"name": "شتوبەر سەسيليا", "order": "FAMILY_FIRST", "given": "سەسيليا", "family": "شتوبەر"} +{"name": "شتوبەر، سەسيليا حەمىش", "order": "FAMILY_FIRST", "given": "سەسيليا", "middle": "حەمىش", "family": "شتوبەر"} +{"name": "شهره آغداشلو", "given": "شهره", "family": "آغداشلو"} +{"name": "شيماء الصباغ", "given": "شيماء", "family": "الصباغ"} +{"name": "صابری محمد ہاشم", "order": "FAMILY_FIRST", "given": "محمد", "middle": "ہاشم", "family": "صابری"} +{"name": "صابری، محمد ہاشم", "order": "FAMILY_FIRST", "given": "محمد", "middle": "ہاشم", "family": "صابری"} +{"name": "صالح اسدی", "given": "صالح", "family": "اسدی"} +{"name": "صالح اللحيدان", "given": "صالح", "family": "اللحيدان"} +{"name": "صالح خالد الشهري", "given": "صالح", "middle": "خالد", "family": "الشهري"} +{"name": "صلاح المُولَّد", "given": "صلاح", "family": "المُولَّد"} +{"name": "صنع الله إبراهيم", "given": "صنع", "middle": "الله", "family": "إبراهيم"} +{"name": "طارق سلامة", "given": "طارق", "family": "سلامة"} +{"name": "طارق عبد العزيز", "given": "طارق", "family": "عبد العزيز"} +{"name": "طارق فتح", "given": "طارق", "family": "فتح"} +{"name": "طاہر داوڑ", "given": "طاہر", "family": "داوڑ"} +{"name": "طلعت زكريا", "given": "طلعت", "family": "زكريا"} +{"name": "عائشة ذو الغنى", "given": "عائشة", "middle": "ذو", "family": "الغنى"} +{"name": "عادل التويجري", "given": "عادل", "family": "التويجري"} +{"name": "عارف علوی", "given": "عارف", "family": "علوی"} +{"name": "عارف وزیر", "given": "عارف", "family": "وزیر"} +{"name": "عالي القرشي", "given": "عالي", "family": "القرشي"} +{"name": "عباس شفیعی", "given": "عباس", "family": "شفیعی"} +{"name": "عباس وفایی", "given": "عباس", "family": "وفایی"} +{"name": "عباس کریمی", "given": "عباس", "family": "کریمی"} +{"name": "عبد الأكرم السقَّا", "given": "عبد الأكرم", "family": "السقَّا"} +{"name": "عبد الإله نبهان", "given": "عبد الإله", "family": "نبهان"} +{"name": "عبد الباسط بدر", "given": "عبد الباسط", "family": "بدر"} +{"name": "عبد الجبار الضحاك", "given": "عبد الجبار", "family": "الضحاك"} +{"name": "عبد الحليم قدور", "given": "عبد الحليم", "family": "قدور"} +{"name": "عبد الرحمن السديس", "given": "عبد الرحمن", "family": "السديس"} +{"name": "عبد الرحمن العجلان", "given": "عبد الرحمن", "family": "العجلان"} +{"name": "عبد الرحيم منصور", "given": "عبد الرحيم", "family": "منصور"} +{"name": "عبد الستار إبراهيم", "given": "عبد الستار", "family": "إبراهيم"} +{"name": "عبد العزيز الربيعي", "given": "عبد العزيز", "family": "الربيعي"} +{"name": "عبد القدوس أبو صالح", "given": "عبد القدوس", "family": "أبو صالح"} +{"name": "عبد اللطيف عبد الحميد", "given": "عبد اللطيف", "family": "عبد الحميد"} +{"name": "عبد الله", "given": "عبد", "family": "الله"} +{"name": "عبد الله الحقيل", "given": "عبد الله", "family": "الحقيل"} +{"name": "عبد الله حسن, علي", "given": "علي", "family": "عبد الله حسن"} +{"name": "عبد الهادي الباني", "given": "عبد الهادي", "family": "الباني"} +{"name": "عبد الوكيل الهاشمي", "given": "عبد الوكيل", "family": "الهاشمي"} +{"name": "عبد الکریم عبد الحمید سید ایم پی", "given": "عبد الکریم", "middle": "عبد الحمید سید ایم", "family": "پی"} +{"name": "عثمان آل حميد", "given": "عثمان", "family": "آل حميد"} +{"name": "عدلو، آیتین", "order": "FAMILY_FIRST", "given": "آیتین", "family": "عدلو"} +{"name": "عدنان بركات", "given": "عدنان", "family": "بركات"} +{"name": "عدنان خاشقجي", "given": "عدنان", "family": "خاشقجي"} +{"name": "عدنان مصطفى", "given": "عدنان", "family": "مصطفى"} +{"name": "عرفان خان", "given": "عرفان", "family": "خان"} +{"name": "عرفان صدیقی", "given": "عرفان", "family": "صدیقی"} +{"name": "عزت‌الله انتظامی", "given": "عزت‌الله", "family": "انتظامی"} +{"name": "علي الرواس", "given": "علي", "family": "الرواس"} +{"name": "علي القرني", "given": "علي", "family": "القرني"} +{"name": "علي ح. م.", "given": "علي", "middle": "ح.", "family": "م."} +{"name": "علي عبد الکریم", "given": "علي", "family": "عبد الکریم"} +{"name": "علی حاتمی", "given": "علی", "family": "حاتمی"} +{"name": "علیرضا بیرانوند", "given": "علیرضا", "family": "بیرانوند"} +{"name": "علی‌اصغر زارعی", "given": "علی‌اصغر", "family": "زارعی"} +{"name": "علی‌اکبر حیدری", "given": "علی‌اکبر", "family": "حیدری"} +{"name": "عمران خان", "given": "عمران", "family": "خان"} +{"name": "غادة السمان", "given": "غادة", "family": "السمان"} +{"name": "غسان جبري", "given": "غسان", "family": "جبري"} +{"name": "غلام اللہ خان", "given": "غلام", "middle": "اللہ", "family": "خان"} +{"name": "فائق عرقسُوسي", "given": "فائق", "family": "عرقسُوسي"} +{"name": "فاروق خورشيد", "given": "فاروق", "family": "خورشيد"} +{"name": "فاروق عطية", "given": "فاروق", "family": "عطية"} +{"name": "فايزة حسين", "given": "فايزة", "family": "حسين"} +{"name": "فتحي قورة", "given": "فتحي", "family": "قورة"} +{"name": "فتح‌الله بنی‌صدر", "given": "فتح‌الله", "family": "بنی‌صدر"} +{"name": "فرح خان", "given": "فرح", "family": "خان"} +{"name": "فريد الأطرش", "given": "فريد", "family": "الأطرش"} +{"name": "فریدون ابراهیمی", "given": "فریدون", "family": "ابراهیمی"} +{"name": "فون برول، عايدة كورنيليا سيزار مارتن", "order": "FAMILY_FIRST", "given": "عايدة", "middle": "كورنيليا سيزار مارتن", "family": "فون برول"} +{"name": "فون بريۋل ادا كورنەليا", "order": "FAMILY_FIRST", "given": "بريۋل", "middle": "ادا كورنەليا", "family": "فون"} +{"name": "قالاجان قايرات", "given": "قالاجان", "family": "قايرات"} +{"name": "قايرات قالاجان", "order": "FAMILY_FIRST", "given": "قالاجان", "family": "قايرات"} +{"name": "قايرات، قالاجان", "order": "FAMILY_FIRST", "given": "قالاجان", "family": "قايرات"} +{"name": "كاثرين مولر", "given": "كاثرين", "family": "مولر"} +{"name": "كارىباي مۇرات", "order": "FAMILY_FIRST", "given": "مۇرات", "family": "كارىباي"} +{"name": "كارىباي، مۇرات", "order": "FAMILY_FIRST", "given": "مۇرات", "family": "كارىباي"} +{"name": "كمال مجدي العامر", "given": "كمال", "middle": "مجدي", "family": "العامر"} +{"name": "كەيت مۇللەر", "given": "كەيت", "family": "مۇللەر"} +{"name": "لطفي لبيب", "given": "لطفي", "family": "لبيب"} +{"name": "لويس جريس", "given": "لويس", "family": "جريس"} +{"name": "مازن المبارك", "given": "مازن", "family": "المبارك"} +{"name": "ماقسات بالقىباي", "given": "ماقسات", "family": "بالقىباي"} +{"name": "مانی شرما", "given": "مانی", "family": "شرما"} +{"name": "محترم برٽرم ولبرفورس ھينري رابرٽ ووسٽر ايم پي", "given": "محترم", "middle": "برٽرم ولبرفورس ھينري رابرٽ ووسٽر ايم", "family": "پي"} +{"name": "محمد البغدادي", "given": "محمد", "family": "البغدادي"} +{"name": "محمد الزعبي", "given": "محمد", "family": "الزعبي"} +{"name": "محمد بن سلمان", "given": "محمد", "family": "بن سلمان", "patronymic": "بن سلمان"} +{"name": "محمد خاتمی", "given": "محمد", "family": "خاتمی"} +{"name": "محمد دهمان", "given": "محمد", "family": "دهمان"} +{"name": "محمد سليم الحلواني", "given": "محمد", "middle": "سليم", "family": "الحلواني"} +{"name": "محمد سليمان", "given": "محمد", "family": "سليمان"} +{"name": "محمد ضياء الدين الصابوني", "given": "محمد", "middle": "ضياء الدين", "family": "الصابوني"} +{"name": "محمد عبد القريشي", "given": "محمد", "middle": "عبد", "family": "القريشي"} +{"name": "محمد عبد الله أحمد", "given": "محمد", "middle": "عبد الله", "family": "أحمد"} +{"name": "محمد عطا", "given": "محمد", "family": "عطا"} +{"name": "محمد علي MD حسن", "given": "محمد", "family": "علي", "suffix": "MD حسن", "ambiguities": ["SUFFIX_OR_NAME"], "alternatives": ["SUFFIX_OR_NAME: name as family (position)"]} +{"name": "محمد علي و", "given": "محمد", "family": "علي و"} +{"name": "محمد نبيه المسيري", "given": "محمد", "middle": "نبيه", "family": "المسيري"} +{"name": "محمد و علي", "given": "محمد", "middle": "و", "family": "علي"} +{"name": "محمد کوثری", "given": "محمد", "family": "کوثری"} +{"name": "محمد ہاشم صابری", "given": "محمد", "middle": "ہاشم", "family": "صابری"} +{"name": "محمدتقی شریعتی", "given": "محمدتقی", "family": "شریعتی"} +{"name": "محمدعلی حفیظی", "given": "محمدعلی", "family": "حفیظی"} +{"name": "محمدعلی ییلاقی اشرفی", "given": "محمدعلی", "middle": "ییلاقی", "family": "اشرفی"} +{"name": "محمود الزعبي", "given": "محمود", "family": "الزعبي"} +{"name": "محمود جركس", "given": "محمود", "family": "جركس"} +{"name": "محمود شاكر", "given": "محمود", "family": "شاكر"} +{"name": "محمود فروغی", "given": "محمود", "family": "فروغی"} +{"name": "مريم صالح", "given": "مريم", "family": "صالح"} +{"name": "مریم نواز خان", "given": "مریم", "middle": "نواز", "family": "خان"} +{"name": "مصطفى خليل", "given": "مصطفى", "family": "خليل"} +{"name": "ملایری، امید رضا", "order": "FAMILY_FIRST", "given": "امید", "middle": "رضا", "family": "ملایری"} +{"name": "ملر ڪئٿي", "order": "FAMILY_FIRST", "given": "ڪئٿي", "family": "ملر"} +{"name": "منال الشريف", "given": "منال", "family": "الشريف"} +{"name": "منصور حاتم", "order": "FAMILY_FIRST", "given": "حاتم", "family": "منصور"} +{"name": "منصور، حاتم", "order": "FAMILY_FIRST", "given": "حاتم", "family": "منصور"} +{"name": "منير", "given": "منير", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "منير", "order": "FAMILY_FIRST", "given": "منير", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "مها عامر", "given": "مها", "family": "عامر"} +{"name": "موفق الخاني", "given": "موفق", "family": "الخاني"} +{"name": "مولر کیتی", "order": "FAMILY_FIRST", "given": "کیتی", "family": "مولر"} +{"name": "مولر، كاثرين", "order": "FAMILY_FIRST", "given": "كاثرين", "family": "مولر"} +{"name": "مولر، کاتیا", "order": "FAMILY_FIRST", "given": "کاتیا", "family": "مولر"} +{"name": "ميري سيو ھامش واٽسن", "given": "ميري", "middle": "سيو ھامش", "family": "واٽسن"} +{"name": "مُحمَّد علي محجوب", "given": "مُحمَّد", "middle": "علي", "family": "محجوب"} +{"name": "مُحَمَّد بِن سَلمان", "given": "مُحَمَّد", "middle": "بِن", "family": "سَلمان"} +{"name": "مُوفَّق دعبول", "given": "مُوفَّق", "family": "دعبول"} +{"name": "مۇرات كارىباي", "given": "مۇرات", "family": "كارىباي"} +{"name": "مۇللەر كەيت", "order": "FAMILY_FIRST", "given": "كەيت", "family": "مۇللەر"} +{"name": "مۇللەر، كەيت", "order": "FAMILY_FIRST", "given": "كەيت", "family": "مۇللەر"} +{"name": "نادية زغلول", "given": "نادية", "family": "زغلول"} +{"name": "نادیہ خان", "given": "نادیہ", "family": "خان"} +{"name": "ناصر الأنصاري", "given": "ناصر", "family": "الأنصاري"} +{"name": "ناہید اختر", "given": "ناہید", "family": "اختر"} +{"name": "نبيل درويش", "given": "نبيل", "family": "درويش"} +{"name": "نبيل فهمي", "given": "نبيل", "family": "فهمي"} +{"name": "نبيهة حداد", "given": "نبيهة", "family": "حداد"} +{"name": "ندیم رضا یاسمین راشد سدرہ منیر ایم ڈی ڈی ڈی ایس", "order": "FAMILY_FIRST", "given": "رضا", "middle": "یاسمین راشد سدرہ منیر ایم ڈی ڈی ڈی ایس", "family": "ندیم"} +{"name": "ندیم رضا، یاسمین راشد سدرہ منیر ایم ڈی ڈی ڈی ایس", "order": "FAMILY_FIRST", "given": "یاسمین", "middle": "راشد سدرہ منیر ایم ڈی ڈی ڈی ایس", "family": "ندیم رضا"} +{"name": "نسرين طافش", "given": "نسرين", "family": "طافش"} +{"name": "نعيم عيسى", "given": "نعيم", "family": "عيسى"} +{"name": "نهلة القدسي", "given": "نهلة", "family": "القدسي"} +{"name": "نوال عبد هاشم", "given": "نوال", "middle": "عبد", "family": "هاشم"} +{"name": "نور الدين عتر", "given": "نور", "middle": "الدين", "family": "عتر"} +{"name": "نورس عبد الواحد", "given": "نورس", "family": "عبد الواحد"} +{"name": "هالة شكر الله", "given": "هالة", "middle": "شكر", "family": "الله"} +{"name": "هدى شعراوي", "given": "هدى", "family": "شعراوي"} +{"name": "هدى عابدين", "given": "هدى", "family": "عابدين"} +{"name": "هشام حافظ", "given": "هشام", "family": "حافظ"} +{"name": "هشام سليم", "given": "هشام", "family": "سليم"} +{"name": "هشام عباس", "given": "هشام", "family": "عباس"} +{"name": "هشام فؤاد", "given": "هشام", "family": "فؤاد"} +{"name": "وان برل گونزالس ڊومنگو پروفيسر ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن ايم ڊي ڊي ڊي ايس", "order": "FAMILY_FIRST", "given": "برل", "middle": "گونزالس ڊومنگو پروفيسر ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن ايم ڊي ڊي ڊي ايس", "family": "وان"} +{"name": "وان برل گونزالس ڊومنگو, پروفيسر ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن ايم ڊي ڊي ڊي ايس", "given": "پروفيسر", "middle": "ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن ايم ڊي ڊي ڊي ايس", "family": "وان برل گونزالس ڊومنگو"} +{"name": "وان بروهل، پروفسور آدا کورنلیا سزار مارتین جونیور، دکترای دندانپزشکی", "order": "FAMILY_FIRST", "given": "پروفسور", "middle": "آدا کورنلیا سزار مارتین", "family": "وان بروهل", "suffix": "جونیور, دکترای دندانپزشکی", "ambiguities": ["COMMA_STRUCTURE"], "generation": "جونیور", "credentials": "دکترای دندانپزشکی"} +{"name": "واټسن جان همیش", "order": "FAMILY_FIRST", "given": "جان", "middle": "همیش", "family": "واټسن"} +{"name": "واٽسن ميري سيو ھامش", "order": "FAMILY_FIRST", "given": "ميري", "middle": "سيو ھامش", "family": "واٽسن"} +{"name": "وداد أنطوان", "given": "وداد", "family": "أنطوان"} +{"name": "وديع بشور", "given": "وديع", "family": "بشور"} +{"name": "وليد الشهري", "given": "وليد", "family": "الشهري"} +{"name": "ووسټر ښاغلی. برټرام ولبرفورس هنري رابرټ ایم پی", "order": "FAMILY_FIRST", "given": "ښاغلی.", "middle": "برټرام ولبرفورس هنري رابرټ ایم پی", "family": "ووسټر"} +{"name": "ووسٽر محترم برٽرم ولبرفورس ھينري رابرٽ ايم پي", "order": "FAMILY_FIRST", "given": "محترم", "middle": "برٽرم ولبرفورس ھينري رابرٽ ايم پي", "family": "ووسٽر"} +{"name": "وون لیوه بیکر شمیت پروفیسور ډاکټر اډا کورنیلیا ایوا سوفیا ایم ‌ډی ډیی ډیی ایس", "order": "FAMILY_FIRST", "given": "لیوه", "middle": "بیکر شمیت پروفیسور ډاکټر اډا کورنیلیا ایوا سوفیا ایم ‌ډی ډیی ډیی ایس", "family": "وون", "initials": "‌."} +{"name": "وون لیوه بیکر شمیت, پروفیسور ډاکټر اډا کورنیلیا ایوا سوفیا ایم ‌ډی ډیی ډیی ایس", "given": "پروفیسور", "middle": "ډاکټر اډا کورنیلیا ایوا سوفیا ایم ‌ډی ډیی ډیی ایس", "family": "وون لیوه بیکر شمیت", "initials": "‌."} +{"name": "يوسف إدريس", "given": "يوسف", "family": "إدريس"} +{"name": "يوسف السالم", "given": "يوسف", "family": "السالم"} +{"name": "يوسف مكي", "given": "يوسف", "family": "مكي"} +{"name": "پردیس افکاری", "given": "پردیس", "family": "افکاری"} +{"name": "پروفسور آدا کورنلیا سزار مارتین وان بروهل جونیور، دکترای دندانپزشکی", "given": "دکترای", "middle": "دندانپزشکی", "family": "پروفسور آدا کورنلیا سزار مارتین وان بروهل", "suffix": "جونیور", "generation": "جونیور"} +{"name": "پروفيسر ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن وان برل گونزالس ڊومنگو ايم ڊي ڊي ڊي ايس", "given": "پروفيسر", "middle": "ڊاڪٽر ايڊا ڪورنيليا سيزر مارٽن وان برل گونزالس ڊومنگو ايم ڊي ڊي ڊي", "family": "ايس"} +{"name": "پروفیسور ډاکټر اډا کورنیلیا ایوا سوفیا وون لیوه بیکر شمیت ایم ‌ډی ډیی ډیی ایس", "given": "پروفیسور", "middle": "ډاکټر اډا کورنیلیا ایوا سوفیا وون لیوه بیکر شمیت ایم ‌ډی ډیی ډیی", "family": "ایس", "initials": "‌."} +{"name": "ژیلا", "given": "ژیلا", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "ژیلا", "order": "FAMILY_FIRST", "given": "ژیلا", "ambiguities": ["GIVEN_OR_FAMILY"], "alternatives": ["GIVEN_OR_FAMILY: name as family (position)"]} +{"name": "ښاغلی. برټرام ولبرفورس هنري رابرټ ووسټر ایم پی", "title": "ښاغلی.", "given": "برټرام", "middle": "ولبرفورس هنري رابرټ ووسټر ایم", "family": "پی"} +{"name": "کاتیا مولر", "given": "کاتیا", "family": "مولر"} +{"name": "کمال ایرانی", "given": "کمال", "family": "ایرانی"} +{"name": "کیتی مولر", "given": "کیتی", "family": "مولر"} +{"name": "کیوان وحدانی", "given": "کیوان", "family": "وحدانی"} +{"name": "ڪئٿي ملر", "given": "ڪئٿي", "family": "ملر"} +{"name": "ہاشم خان", "given": "ہاشم", "family": "خان"} +{"name": "یاسمین راشد سدرہ منیر ندیم رضا ایم ڈی ڈی ڈی ایس", "given": "یاسمین", "middle": "راشد سدرہ منیر ندیم رضا ایم ڈی ڈی ڈی", "family": "ایس"} {"name": "अंजलि देवी", "given": "अंजलि", "family": "देवी", "initials": "अ. द."} {"name": "अंजलि शर्मा", "given": "अंजलि", "family": "शर्मा", "initials": "अ. श."} {"name": "अंबिका सोनी", "given": "अंबिका", "family": "सोनी", "initials": "अ. स."} @@ -7105,7 +7110,7 @@ {"name": "​Dr. John Smith", "title": "Dr.", "given": "John", "family": "Smith", "initials": "J. S."} {"name": "​王小明", "family": "王小明"} {"name": "‏John‏ Smith", "given": "John", "family": "Smith", "initials": "J. S."} -{"name": "‏محمد بن سلمان‏", "given": "محمد", "family": "بن سلمان", "initials": "م. س.", "patronymic": "بن سلمان"} +{"name": "‏محمد بن سلمان‏", "given": "محمد", "family": "بن سلمان", "patronymic": "بن سلمان"} {"name": "∫≜⩕ Smith 😊", "given": "∫≜⩕", "family": "Smith", "initials": "∫. S."} {"name": "∫≜⩕ Smith😊", "given": "∫≜⩕", "family": "Smith", "initials": "∫. S."} {"name": "〆木 ひろ", "given": "ひろ", "family": "〆木"}