You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should د. and the Iraqi academic abbreviations read as titles? (د. أحمد علي حسن gives given 'د.') #1149
non-latin-scriptNames written in a script other than Latin (rules/W)titlesTitles and honorifics (rules/H)vocabularyFixed by a word-list entry: per-word vocabulary and language packs
parse("د. أحمد علي حسن") gives given 'د.', middle 'أحمد علي', family 'حسن'. د. is the Arabic abbreviation for "Dr." The Iraqi academic forms aren't listed either:
أ.د. (professor doctor): أ.د. أحمد علي حسن gives given 'أ.د.'
م.د. (lecturer doctor): م.د. أحمد علي gives given 'م.د.'
An Iraqi polytechnic's 2023–24 staff list (https://iku.atu.edu.iq/?page_id=160) writes د. on 3 of its 125 names, both spaced (د. X) and glued (د.X).
Why د. is refused today (decisions/vocabulary-exclusions, ar.toml's excluded:academic entry): the edge-period fold leaves a bare د. A single letter matches an initial, so the title would swallow initials, as with Greek κ. But Arabic script does not seem to write initials:
0 single-letter-plus-period words in JRC-Names' 17,080 Arabic-script spellings
0 in corpus_wikidata_native.jsonl's 212
The Bengali ড already ships on the same reasoning and pays the known cost (decisions/indic-honorifics).
Questions:
Should د. ship the way ড does, with its cost (د. حسن reads an empty given)?
Should أ.د., م.د. and م.م. ship? Each has more than one letter, so the fold leaves no bare letter and they avoid the initials trap.
The glued form د.أحمد is a separate shape and not Arabic-only: Dr.John Smith gives title 'Dr.John'. Is that in scope here or its own issue?
What to measure first: a source that writes Arabic titles. JRC-Names is harvested from news text and holds none (its 5 names starting with a bare د are cut-off spellings of محمد). University staff lists are the obvious candidate.
The King Saud University faculty directory, where each faculty member writes their own entry, measures what this issue asked for (2026-11-07, every 10th page, 401 names in Arabic script only):
63 open with د.: 52 spaced (د. X), 9 glued (د.X) and 2 bare (د X, with no period)
23 open with أ.د.
6 open with أ. (Ustadh)
None of these reads as a title today; only the spelled-out الدكتور, دكتور and الأستاذ الدكتور do. The directory holds no Arabic-script initials, consistent with the 0 found in JRC-Names.
Egyptian and some Saudi entries write the title with a slash: أ.د/, أ.م.د/, د/, م.م/, م/, دكتورة/, الدكتور/ (Kafr El-Sheikh University's faculty guide, KSU). د/ منى أحمد سالم gives given 'د/', and Dr/ John Smith gives given 'Dr/', so the slash form is not Arabic-only. The bare د with no period is the one shape that still meets the initials question.
A related question, now that #1256 gave the parser one table of script properties with a "writes initials" column: should Arabic script have a row saying it writes no initials?
The measurements above already point that way: 0 single-letter-plus-period words in JRC-Names' 17,080 Arabic-script spellings, 0 in corpus_wikidata_native.jsonl's 212, and none in the King Saud directory, where the letter with a period is always a title (د., أ.).
What the row would change:
It removes the trap this issue describes. د. is refused today because the edge-period fold leaves a bare د, which matches an initial; in a script that writes no initials there is no initial for it to swallow, so د., أ. and م. could ship as titles without ড's cost.
nameparser/_policy.py says the opposite today: its comment lists Arabic among the scripts that "abbreviate" and pins م. الفارسي as a real initial, with no source recorded. م. before a name is the usual abbreviation of مهندس, so that example may be a title.
What is not yet measured:
The recipe decisions/script-properties uses for this column: the count of CLDR's locale-authored name patterns that produce an initial, for ar, fa and ur, after the copy test that caught Burmese's block being English's.
Persian and Urdu usage, which the Arabic-script row would cover too.
A run of dotted letters with no spaces (ا.ب. علي reads given 'ا.ب.' today, where A.B. Ali reads given 'A.', middle 'B.'). If the script writes no initials this is an unwritten shape and stays as it is.
Hebrew is a separate question: it does write initials with a full stop (א. ב. before a surname), and also abbreviates with the gershayim.
Correction to the evidence above (2026-11-13). The "0 single-letter-plus-period words in JRC-Names' Arabic-script spellings" proves nothing: JRC-Names holds no full stop in any script (0 of its 1,315,051 names, Latin included), so that count could not have come out any other way.
What the corpus can show is a single letter standing as a word of its own, the full stop being absent from the source:
Script
names
holding a one-letter word
Latin
1,201,826
14,900 (1.2%)
Hebrew
2,684
450 (16.8%)
Arabic
17,075
21 (0.12%)
So Arabic-script names in news text carry a lone letter a tenth as often as Latin ones, which still points to "writes no initials", on a count that could have come out otherwise. The 21 have not been read: some may be initials, some the cut-off spellings this issue already noted. The King Saud directory count stands, since that source keeps its full stops.
The Hebrew figure is the opposite signal, and is going into its own issue.
The Hebrew row of the table above is wrong; the Arabic and Latin rows stand. JRC-Names drops apostrophes as well as full stops (no Hebrew name in it holds a geresh, gershayim or apostrophe), so a letter written with a geresh for a foreign sound (ג', ז', צ') is left standing alone: 394 of the 450 lone letters are those. Without the letters that take a geresh, 89 of 2,684 Hebrew names (3.3%) hold a one-letter word, nearly all in the middle of a three- or four-word name, and nine of them are word-final letter forms, which cannot be initials. So the corpus does not settle Hebrew either way. The same artifact does not touch the Arabic count, Arabic script writing no such mark.
Counted on Egypt's House of Representatives list (OpenSanctions eg_house_representatives, 1,182 spellings, Arabic script; 2026-11-19, master 3175314d; #1465). 49 names open with a title and 35 read it wrong: د 13, د/ 10, د. 7, اللواء 4, اللواء/ 2, لواء 2, م 3, م/ 2, المستشار/المستشارة 2, الاستاذ 1, السفيرة 1. دكتور, الدكتور, الحاج and الشيخ read right. The slash forms and the ranks and professions are not in this issue's list. A slash written apart (د / X) leaves / as a name word; 40 names hold a slash.
Arabic script writes no initials: decided. It takes a row in the script-property table (Umbrella: one table of which scripts have case and which write initials (ကြည် ကြည် ဌေး gave initials()က. က. ဌ.) #1256), on the King Saud directory (no initial among 401 names, the letter with a full stop always a title) and JRC-Names' lone letters (0.12% of Arabic-script names against 1.2% of Latin ones). initials() and the name match follow the row as they do for Thai and Burmese; what that moves is measured in the change.
د., أ. and م. ship as titles on that row, without ড's cost, and أ.د., م.د., أ.م.د. and م.م. with them.
The ranks and professions Egypt's parliament writes (اللواء, لواء, المستشار, المستشارة, السفيرة, الاستاذ) are measured word by word in the same batch.
The slash is measured and weighed, not left out. It has turned up in several places: د/, أ.د/, م/, اللواء/, دكتورة/ (Egypt's parliament 40 names with a slash; Kafr El-Sheikh and King Saud), a slash written apart (د / X), and the Latin twin Dr/ John Smith. To count: each writing by list, what follows the slash, and what else a slash joins in a name (MD/PhD, a/l, OTR/L), before a reading is proposed.
The glued د.أحمد and Dr.John shape is counted beside it.
Decided 2026-11-19: the no-initials row is built for the whole Arabic script, and decisions/script-properties' Standing line is amended: where the name lists measured contradict CLDR's authored patterns, measured usage decides.
CLDR says the opposite. Run as the Standing line asks, on CLDR c0b65ae3: 8 of ar's 42 authored person-name patterns use an initial, the block being Arabic's own (2 of the 8 equal English's), one writing {given-informal-initial}. {surname}; fa's 7 are mostly a copy of English's (6); ur's 8 are half its own. CLDR's patterns say how a name may be formatted, and its sample names are made up; they do not record how people write.
Every list of real names held says Arabic script writes none:
Source
Count
ORCID's Arabic-script names (6,293)
221 open with a letter and a full stop (د. 203, م. 20, أ. 16), every one a title or part of a spaced compound title; at most two initials
the Wikidata native corpus (212: ar 150, fa 30, ur 32)
no one-letter word
jrc-names (17,110)
about 6 initials, each a transliterated Western name
Egypt's House of Representatives
every one-letter word a title
A web search the same day found no authority stating the convention either way. What it found is consistent with the lists: Arabic-language guides to APA style give the given name in full in their Arabic reference examples (an Al-Azhar University Gaza guide), and users of citation software report Arabic entries keeping full names where English ones take initials (Zotero forum). The mentions of initials for Arabic names are of Latin-script writing (M., Md.). Nothing was found on Persian or Urdu.
Recorded with it
The row covers Persian and Urdu, a row being per script, on thin evidence for both; an Open line says so.
The cost: a transliterated Western name written in Arabic script with an initial. initials() gives nothing for it, and its letter is no longer read as an initial.
Still to come back as tables: the slash, the bare letter with no full stop, and the glued form.
non-latin-scriptNames written in a script other than Latin (rules/W)titlesTitles and honorifics (rules/H)vocabularyFixed by a word-list entry: per-word vocabulary and language packs
Activity
derek73 commentedon Nov 8, 2026
The King Saud University faculty directory, where each faculty member writes their own entry, measures what this issue asked for (2026-11-07, every 10th page, 401 names in Arabic script only):
د.: 52 spaced (د. X), 9 glued (د.X) and 2 bare (د X, with no period)أ.د.أ.(Ustadh)None of these reads as a title today; only the spelled-out
الدكتور,دكتورandالأستاذ الدكتورdo. The directory holds no Arabic-script initials, consistent with the 0 found in JRC-Names.Egyptian and some Saudi entries write the title with a slash:
أ.د/,أ.م.د/,د/,م.م/,م/,دكتورة/,الدكتور/(Kafr El-Sheikh University's faculty guide, KSU).د/ منى أحمد سالمgives given 'د/', andDr/ John Smithgives given 'Dr/', so the slash form is not Arabic-only. The bareدwith no period is the one shape that still meets the initials question.derek73 commentedon Nov 13, 2026
A related question, now that #1256 gave the parser one table of script properties with a "writes initials" column: should Arabic script have a row saying it writes no initials?
The measurements above already point that way: 0 single-letter-plus-period words in JRC-Names' 17,080 Arabic-script spellings, 0 in
corpus_wikidata_native.jsonl's 212, and none in the King Saud directory, where the letter with a period is always a title (د.,أ.).What the row would change:
د.is refused today because the edge-period fold leaves a bareد, which matches an initial; in a script that writes no initials there is no initial for it to swallow, soد.,أ.andم.could ship as titles withoutড's cost.initials()would give nothing for a name in Arabic script, as it does for Thai and Burmese since Umbrella: one table of which scripts have case and which write initials (ကြည် ကြည် ဌေးgaveinitials()က. က. ဌ.) #1256, and the name match would read a single letter as a whole word.nameparser/_policy.pysays the opposite today: its comment lists Arabic among the scripts that "abbreviate" and pinsم. الفارسيas a real initial, with no source recorded.م.before a name is the usual abbreviation ofمهندس, so that example may be a title.What is not yet measured:
ar,faandur, after the copy test that caught Burmese's block being English's.ا.ب. عليreads given 'ا.ب.' today, whereA.B. Alireads given 'A.', middle 'B.'). If the script writes no initials this is an unwritten shape and stays as it is.Hebrew is a separate question: it does write initials with a full stop (
א. ב.before a surname), and also abbreviates with the gershayim.derek73 commentedon Nov 13, 2026
Correction to the evidence above (2026-11-13). The "0 single-letter-plus-period words in JRC-Names' Arabic-script spellings" proves nothing: JRC-Names holds no full stop in any script (0 of its 1,315,051 names, Latin included), so that count could not have come out any other way.
What the corpus can show is a single letter standing as a word of its own, the full stop being absent from the source:
So Arabic-script names in news text carry a lone letter a tenth as often as Latin ones, which still points to "writes no initials", on a count that could have come out otherwise. The 21 have not been read: some may be initials, some the cut-off spellings this issue already noted. The King Saud directory count stands, since that source keeps its full stops.
The Hebrew figure is the opposite signal, and is going into its own issue.
derek73 commentedon Nov 13, 2026
The Hebrew row of the table above is wrong; the Arabic and Latin rows stand. JRC-Names drops apostrophes as well as full stops (no Hebrew name in it holds a geresh, gershayim or apostrophe), so a letter written with a geresh for a foreign sound (
ג',ז',צ') is left standing alone: 394 of the 450 lone letters are those. Without the letters that take a geresh, 89 of 2,684 Hebrew names (3.3%) hold a one-letter word, nearly all in the middle of a three- or four-word name, and nine of them are word-final letter forms, which cannot be initials. So the corpus does not settle Hebrew either way. The same artifact does not touch the Arabic count, Arabic script writing no such mark.derek73 commentedon Nov 19, 2026
Counted on Egypt's House of Representatives list (OpenSanctions
eg_house_representatives, 1,182 spellings, Arabic script; 2026-11-19, master3175314d; #1465). 49 names open with a title and 35 read it wrong:د13,د/10,د.7,اللواء4,اللواء/2,لواء2,م3,م/2,المستشار/المستشارة2,الاستاذ1,السفيرة1.دكتور,الدكتور,الحاجandالشيخread right. The slash forms and the ranks and professions are not in this issue's list. A slash written apart (د / X) leaves/as a name word; 40 names hold a slash.derek73 commentedon Nov 19, 2026
Taken for 3.2 (decided 2026-11-19).
ကြည် ကြည် ဌေးgaveinitials()က. က. ဌ.) #1256), on the King Saud directory (no initial among 401 names, the letter with a full stop always a title) and JRC-Names' lone letters (0.12% of Arabic-script names against 1.2% of Latin ones).initials()and the name match follow the row as they do for Thai and Burmese; what that moves is measured in the change.د.,أ.andم.ship as titles on that row, withoutড's cost, andأ.د.,م.د.,أ.م.د.andم.م.with them.اللواء,لواء,المستشار,المستشارة,السفيرة,الاستاذ) are measured word by word in the same batch.د/,أ.د/,م/,اللواء/,دكتورة/(Egypt's parliament 40 names with a slash; Kafr El-Sheikh and King Saud), a slash written apart (د / X), and the Latin twinDr/ John Smith. To count: each writing by list, what follows the slash, and what else a slash joins in a name (MD/PhD,a/l,OTR/L), before a reading is proposed.د.أحمدandDr.Johnshape is counted beside it.derek73 commentedon Nov 20, 2026
Decided 2026-11-19: the no-initials row is built for the whole Arabic script, and decisions/script-properties' Standing line is amended: where the name lists measured contradict CLDR's authored patterns, measured usage decides.
CLDR says the opposite. Run as the Standing line asks, on CLDR
c0b65ae3: 8 ofar's 42 authored person-name patterns use an initial, the block being Arabic's own (2 of the 8 equal English's), one writing{given-informal-initial}. {surname};fa's 7 are mostly a copy of English's (6);ur's 8 are half its own. CLDR's patterns say how a name may be formatted, and its sample names are made up; they do not record how people write.Every list of real names held says Arabic script writes none:
د.203,م.20,أ.16), every one a title or part of a spaced compound title; at most two initialsjrc-names(17,110)A web search the same day found no authority stating the convention either way. What it found is consistent with the lists: Arabic-language guides to APA style give the given name in full in their Arabic reference examples (an Al-Azhar University Gaza guide), and users of citation software report Arabic entries keeping full names where English ones take initials (Zotero forum). The mentions of initials for Arabic names are of Latin-script writing (
M.,Md.). Nothing was found on Persian or Urdu.Recorded with it
initials()gives nothing for it, and its letter is no longer read as an initial.Still to come back as tables: the slash, the bare letter with no full stop, and the glued form.
Read Arabic titles written short, and give Arabic script no initials (#…
Merge master into fix/issue-1072-backward-pairs (#1149's Arabic titles)
Add rows for T9 before an Arabic bound pair (#1149, #1072)
Read a title written with a slash for its full stop as the title (#1149…
Sweep the contributor docs for the 3.2 release (#1532)