Mova0.6 pre-release

the flag of Afghanistan 4. Perso-Arabic script, punctuation and numbers

Dari is normally written in the Perso-Arabic script. Letters run from right to left, while the digits of a number retain their left-to-right order. The script records consonants and many vowels, but ordinary writing leaves most short vowels unmarked. The Dari texts in the FLORES-200 benchmark are identified as prs_Arab (NLLB Team 2024, pp. 841–846). The linguistic examples in this chapter are constructed.

1. Letters, joining and right-to-left text

The Dari alphabet has 32 letters. The letters پ, چ, ژ and گ extend the Arabic inventory. Several other letters retain distinctions of spelling that normally have no corresponding distinction in Dari pronunciation. For example, ث, س and ص ordinarily represent the same consonant, /s/. Which letter a word takes is part of its spelling.

The table gives alphabetic order, a common reading or function, and whether the letter can join the next letter in reading order. The reading column is a guide to Dari pronunciation. The letter-by-letter conventions in §5 preserve more spelling distinctions.

LetterCommon reading or functionCan join the next letter
اā or an initial vowel carrierNo
بbYes
پpYes
تtYes
ثsYes
جjYes
چčYes
حhYes
خxYes
دdNo
ذzNo
رrNo
زzNo
ژžNo
سsYes
شšYes
صsYes
ضzYes
طtYes
ظzYes
عʿ, with realization depending on the word and speakerYes
غġYes
فfYes
قqYes
کkYes
گgYes
لlYes
مmYes
نnYes
وw or a vowel spellingNo
هh or, in certain word-final spellings, a vowelYes
یy or a vowel spellingYes

A letter takes its displayed shape from its connections. An isolated form has no connection. An initial form connects only to the next letter, a medial form connects on both sides, and a final form connects only to the preceding letter. In right-to-left writing the next letter is on the left. The seven letters ا, د, ذ, ر, ز, ژ and و can receive a connection from the right but cannot pass it on to the left. A break after one of these letters can therefore occur inside a word. An ordinary space separates words. Joining behavior alone cannot identify a word boundary.

Adjacent letters can also be drawn as a ligature. In particular, ordinary shaping can display ل followed by ا as لا. The underlying text still contains two letters. Dots that distinguish letters are part of the letters themselves. For example, ب, پ and ت are separate characters even where their undotted shapes resemble one another.

FormRomanizationGlossTranslation
کتاب (constructed)kitābbook‘book’
برادر (constructed)barādarbrother‘brother’
بلا (constructed)balācalamity‘calamity’
پدر آمد. (constructed)pidar āmadfather come.PST.3SG‘Father came.’

The ا in کتاب breaks the connection before the last ب. برادر has several internal breaks of the same kind. In بلا the final two letters form the lām–alef ligature in ordinary typesetting.

2. Vowel letters and optional diacritics

The three letters ا, و and ی account for most vowel spellings with full-sized letters. Their functions depend on position and on the word. In particular, و and ی serve as both consonant and vowel letters. Word-final ه also has a vowel function in a class of words. An initial short vowel ordinarily has a written carrier even when the mark specifying the vowel is omitted.

SpellingVowel functionOther function or condition
اCommonly writes ā after a consonantAt the beginning of a word it can carry a short vowel or precede another vowel letter
آNormally writes initial āConsists of alef with madda
وCan write ū or ō, or participate in a spelling read with awAlso writes consonantal w
یCan write ī or ē, or participate in a spelling read with ayAlso writes consonantal y
هCan write final a in words such as خانهAlso writes h, including at the end of a word

The ambiguity of و and ی matters in Dari because a single spelling can cover vowel distinctions made in speech. شیر, for instance, can be read with ē or ī, with different meanings. The reader uses the vocabulary and context to choose a reading. The romanization here distinguishes these vowels where the intended reading is known. It does not assign a vowel solely from the letter.

FormRomanizationGlossTranslation
آب (constructed)ābwater‘water’
نور (constructed)nūrlight‘light’
روز (constructed)rōzday‘day’
شیر (constructed)šērlion‘lion’
شیر (constructed)šīrmilk‘milk’
خانه (constructed)xānahouse‘house’
راه (constructed)rāhway‘way’

Short vowel marks are optional in ordinary Dari prose. They can be supplied where a reading needs to be shown, as in instructional material, a pronunciation entry or an ambiguous word. The common marks are attached to a base in digital text. The dotted circle in the table only makes the location of a combining mark visible.

MarkUnicodeFunction
◌َU+064EFatḥa, above the letter, conventionally transcribed a
◌ِU+0650Kasra, below the letter, conventionally transcribed i, with e also possible depending on the reading
◌ُU+064FḌamma, above the letter, conventionally transcribed u, with o also possible depending on the reading
◌ْU+0652Sukūn, indicating that no vowel follows the consonant
◌ّU+0651Shadda, indicating a doubled consonant
◌ًU+064BFatḥatan, retained in some Arabic-derived spellings read with final -an

Shadda and an accompanying vowel mark may occur on the same base letter. A sukūn marks the absence of a following vowel in a marked text. An unmarked consonant in normal prose can have a following short vowel or none. Arabic-derived spellings with fatḥatan are lexical conventions. They do not establish a productive set of written case endings for Dari nouns.

FormRomanizationGlossTranslation
دَر (constructed)dardoor‘door’
دِل (constructed)dilheart‘heart’
گُل (constructed)gulflower‘flower’
حقّ (constructed)haqqright‘right’
مثلاً (constructed)masalanfor.example‘for example’

Ezafe after a consonant is ordinarily unmarked. Kasra can make it visible, as in کتابِ نو. Where the noun ends in vowel-writing ه, ezafe has an overt written form, discussed in §3. After final ا or vowel-writing و, a written ی commonly represents the glide of the linker. The broad romanization below uses -i and -yi for ezafe.

FormRomanizationGlossTranslation
کتاب نو (constructed)kitāb-i nawbook-EZ new‘a new book’
کتابِ نو (constructed)kitāb-i nawbook-EZ new‘a new book’
صدای او (constructed)sadā-yi ūvoice-EZ 3SG‘his or her voice’

Hamza occurs chiefly in words of Arabic origin. It can stand on its own or be written above or below an alef, above a wāw, or on a yeh-shaped seat. The choice of seat belongs to the spelling of the word. Dari readers may realize lexical hamza as a glottal onset, a separation between vowels, or a weaker transition. The seat does not by itself specify a separate /w/ or /y/.

FormUnicodeFunction
ءU+0621Independent hamza
أU+0623Alef with hamza above, as in some Arabic-derived spellings
إU+0625Alef with hamza below, encountered especially in retained Arabic spellings
ؤU+0624Wāw with hamza above
ئU+0626Yeh-shaped seat with hamza above
◌ٔU+0654Combining hamza above, also used to represent the ezafe sign on heh
◌ٕU+0655Combining hamza below
آU+0622Alef with madda, normally read ā at the start of a Dari word

Lexical hamza and the ezafe sign have different functions. In خانهٔ نو, the sign above final ه indicates the ezafe linker after the vowel of خانه. The combination can also appear as خانۀ نو, with a single encoded letter bearing the sign. In spelling with an explicit ی, the same construction can appear as خانه‌ی نو. These spellings represent the linker -yi in the reading given here. A final ه read as /h/ is a consonant, so it takes the ordinary postconsonantal ezafe pattern.

Madda in آ belongs to the spelling of the vowel. It is retained when optional short vowel marks are omitted. The letter ع is a separate alphabet letter and is represented by ʿ in letter-by-letter transliteration. Lexical hamza is represented by ʾ.

FormRomanizationGlossTranslation
تأثیر (constructed)taʾsīreffect‘effect’
سؤال (constructed)suʾālquestion‘question’
مسئله (constructed)masʾalaissue‘issue’
جزء (constructed)juzʾpart‘part’
خانهٔ نو (constructed)xāna-yi nawhouse-EZ new‘a new house’
راهِ نو (constructed)rāh-i nawway-EZ new‘a new way’

4. Unicode letter variants and joining controls

The same general letter shape can have different Unicode encodings in Persian and Arabic data. In Dari text the usual forms for kāf and yeh are ک and ی. Arabic keyboard layouts and Arabic excerpts can introduce ك and ي. The difference may be more visible in some positions than in others. For example, Dari ی is normally dotless in isolated and final forms and dotted in initial and medial forms. Visually similar strings can therefore differ in character-by-character comparison.

FunctionForm usual in DariForm also encountered
Kāfک U+06A9ك U+0643
Yehی U+06CCي U+064A
Ezafe on vowel-writing hehهٔ U+0647 U+0654ۀ U+06C0

Unicode also distinguishes base letters from Arabic presentation forms. A single base letter should be stored for a joining letter regardless of its position. A ligature made by the font normally remains a sequence of base characters in the text. Some older digital material stores contextual shapes or ligatures as presentation characters. Display can look the same while search, sorting or character counting behaves differently. Canonical normalization can reconcile canonically equivalent encodings, such as composed and decomposed alef with madda. Arabic kāf and Persian kāf remain separate letters under that normalization. The two heh-plus-ezafe encodings in the table likewise require separate handling if a comparison is intended to treat them as equivalent.

CharacterUnicodeEffect
Zero-width non-joinerU+200CPrevents joining at its position without adding a visible space
Zero-width joinerU+200DRequests joining behavior where the script shaping system permits it
Ordinary spaceU+0020Separates text with visible spacing and interrupts joining
Tatweel ـU+0640Extends a drawn line in the script and can participate in joining

The zero-width non-joiner can show a boundary within a written word, for example before the plural suffix in کتاب‌ها or after the verbal prefix in می‌روم. A text that joins these elements directly can have the same reading, and ordinary spacing is also encountered. Where the preceding letter cannot join on its left, a zero-width non-joiner can be present with little or no visible effect. The zero-width joiner cannot create a connection that the letter itself lacks. Tatweel is a graphic extension, for example in display lettering.

FormRomanizationGlossTranslation
کتاب‌ها (constructed)kitāb-hābook-PL‘books’
می‌روم (constructed)mē-raw-amIPFV-go.PRS-1SG‘I go.’

5. Romanization and its limits in unvocalized text

A reading-based romanization represents an interpreted pronunciation. A spelling-based transliteration preserves the written distinctions needed to identify the letters. The romanizations in this chapter are broad readings. They use č, š, ž, x and ġ for چ, ش, ژ, خ and غ, and j for ج. Systems using only basic Latin letters can use ch, sh, zh, kh and gh for the first five consonants. These are digraphs of the Latin notation. Each corresponds to a single Perso-Arabic letter when used with that value.

For a spelling-based notation, the following distinctions can be carried over even when the reading-based notation merges them. A fully reversible notation must also record vowel letters, hamza seats, optional marks and any joining controls it is intended to preserve.

Usual consonant class in broad readingDistinct written lettersLetter-by-letter values
sث, س, صṯ, s, ṣ
zذ, ز, ض, ظḏ, z, ż, ẓ
tت, طt, ṭ
hح, ه when consonantalḥ, h
Hamza and aynء and seated hamza, عʾ with the seat recorded separately where required, ʿ

Unvocalized text does not always determine a full reading. Short vowels may be absent, و and ی may have more than one value, and ezafe after a consonant is usually supplied by the reader. The end of a word may also require lexical knowledge, especially with ه. A letter-based rendering can leave these facts open. A reading-based rendering must resolve them from the word, syntax and context. Even a fully specified broad reading cannot recover which of several homophonous letters was used in the original spelling.

FormRomanizationGlossTranslation
گل را دید. (constructed)gul rā dīdflower OBJ see.PST.3SG‘He or she saw the flower.’
گل خشک شد. (constructed)gil xušk šudmud dry become.PST.3SG‘The mud dried.’

The two readings of گل illustrate the information that vowel marks can supply. With marks, گُل gives gul and گِل gives gil. Without them, the choice is lexical and contextual.

6. Punctuation, quotation and abbreviation

Punctuation generally follows the structure of the sentence. A full stop closes a statement. A direct question takes a question mark, including a direct question inside a quotation. An indirect question takes the closing punctuation required by the whole sentence. Commas separate list items and can mark off parenthetical material or clause boundaries. The semicolon marks a stronger division than the comma, and the colon can introduce a list, an explanation or direct speech.

MarkCommon use in Dari prose
.Sentence end or abbreviation point
،Comma between items or parts of a sentence
؛Semicolon between related clauses or between complex list items
؟End of a direct question
!Exclamation or emphatic utterance
:Introduction of quoted speech, an explanation or a list
« »Opening and closing quotation marks in reading order
( )Parenthetical text, gloss or reference
… or ...Omission, hesitation or an unfinished utterance
- or —Hyphen or dash in conventions that use them, for example in a label, a range or a dialogue layout

In running prose, the comma, semicolon, question mark, exclamation mark and full stop are set against the preceding text. A space follows when another word or sentence begins on the same line. A colon is likewise usually set against the text introducing what follows. Quotation marks and parentheses enclose their contents without a space immediately inside the pair. A question mark or exclamation mark belonging to a quoted utterance stays inside the closing quotation mark. The surrounding sentence follows its own syntax when the quotation is only one part of it. Other quotation styles can occur according to the publication.

An abbreviation can use an initial or a shortened written form, sometimes followed by a point. The point then belongs to the abbreviation. Common abbreviation practices vary by publication and kind of text. A quoted or borrowed Latin-script abbreviation can keep its spelling and internal punctuation. A Dari abbreviation such as ص. before a page number can be read as the full word in context.

FormRomanizationGlossTranslation
او پرسید: «کجا می‌روی؟» (constructed)ū pursīd, kujā mē-raw-ī?3SG ask.PST.3SG where IPFV-go.PRS-2SG‘He or she asked, “Where are you going?”’
نمی‌دانم کجا رفت. (constructed)na-mē-dān-am kujā raftNEG-IPFV-know.PRS-1SG where go.PST.3SG‘I do not know where he or she went.’
ص. ۱۲ (constructed)safha-yi 12page-EZ twelve‘p. 12’

7. Unicameral writing and mixed-script text

Perso-Arabic writing is unicameral. The same alphabet serves for the beginning of a sentence, a personal name, a place name and a common noun. A letter's initial, medial, final and isolated shapes reflect joining. They have no capitalization function. Headings and emphasis can use layout, size, weight or another typographic treatment. When a Dari name is romanized, capitalization follows the conventions of the Latin text in which it appears.

A right-to-left paragraph can contain a left-to-right run, such as a Latin abbreviation, a URL or a number. The character sequence is stored in logical order. The bidirectional display algorithm determines where the runs and adjacent punctuation appear on the line. Parentheses may be visually mirrored according to direction. In a mixed passage, a neutral character such as a slash, bracket or full stop can appear near the opposite edge of a run from the one expected by a reader who assumes the whole line has one direction.

Paragraph direction and direction isolation can help keep embedded text together. In plain Unicode text, left-to-right isolate U+2066 or right-to-left isolate U+2067 starts an isolated run, and pop directional isolate U+2069 ends it. First-strong isolate U+2068 determines the direction from the first character in the run with strong directionality. These controls affect display order. Joining controls affect letter shaping. The two operations are independent.

FormRomanizationGlossTranslation
کابل (constructed)KābulKabul‘Kabul’
فایل PDF باز شد. (constructed)fāyl-i PDF bāz šudfile-EZ PDF open become.PST.3SG‘The PDF file opened.’

The spacing around PDF marks it as a separate written item. Its Latin letters keep their left-to-right order and their own uppercase forms within the Dari sentence.

8. Digits, dates and number separators

Dari uses the extended Arabic-Indic digits. ASCII digits also occur in digital and mixed-script material. Arabic-Indic digits form a third set, often encountered in Arabic text or through input settings. The largest visual differences between the two Arabic-script sets occur at four, five and six. Each set has its own Unicode characters even where glyphs look alike.

ValueDari digitArabic-Indic digitASCII digit
Zero۰٠0
One۱١1
Two۲٢2
Three۳٣3
Four۴٤4
Five۵٥5
Six۶٦6
Seven۷٧7
Eight۸٨8
Nine۹٩9

The extended Arabic-Indic digits occupy U+06F0 through U+06F9, Arabic-Indic digits U+0660 through U+0669, and ASCII digits U+0030 through U+0039. The most significant digit of an ordinary integer appears on the left within the displayed number. Thus ۱۲ has the same digit order and value as 12. Text direction can affect the placement of a sign, label or adjacent punctuation around the number.

MarkUnicodeUse
٫U+066BArabic decimal separator
٬U+066CArabic thousands separator
٪U+066AArabic percent sign
.U+002EDecimal point in number formats that follow the ASCII convention
,U+002CGrouping comma in formats such as 1,000
%U+0025ASCII percent sign

A formatter may group long integers in threes from the units end, or omit the grouping separator. A decimal separator marks the division between the integer and fractional parts. Punctuation has to be interpreted with the conventions of the document. In particular, the sentence comma ، and the thousands separator ٬ are different characters. Spaces may also be used for digit grouping in some number formats.

FormDigit transcriptionGlossValue
۱۲٬۵۰۰ (constructed)12,500twelve thousand five hundred‘12,500’
۳٫۵ (constructed)3.5three and five tenths‘3.5’

Dates can be written with a month name or with numeric fields separated by slashes or hyphens. In a year–month–day format, the year comes first in the logical character sequence. Other field orders also occur. The digit set does not identify the calendar or the field order. An Afghan Solar Hijri date may use a Dari month name such as حمل. A calendar label or a named month can disambiguate a date where surrounding text leaves the convention open. The Afghan Solar Hijri month names are given here in calendar order.

MonthFormRomanizationGloss
1حملhamalfirst Solar Hijri month
2ثورsawrsecond Solar Hijri month
3جوزاjawzāthird Solar Hijri month
4سرطانsaratānfourth Solar Hijri month
5اسدasadfifth Solar Hijri month
6سنبلهsunbulasixth Solar Hijri month
7میزانmīzānseventh Solar Hijri month
8عقربʿaqrabeighth Solar Hijri month
9قوسqawsninth Solar Hijri month
10جدیjadītenth Solar Hijri month
11دلوdalweleventh Solar Hijri month
12حوتhūttwelfth Solar Hijri month
FormRomanization or digit transcriptionGlossTranslation
۱ حمل ۱۴۰۳ (constructed)1 hamal 1403day-one Hamal year-1403‘1 Hamal 1403’
۱۴۰۳/۰۱/۰۱ (constructed)1403/01/01year-1403 month-one day-one‘1 Hamal 1403’ in Solar Hijri year–month–day format

9. How Mova handles Perso-Arabic input

At level 1, tools/mova-parse uses tools/langseg to assign languages to sentences and spans. tools/langseg classifies Perso-Arabic script as other. Its Latin-script coverage does not identify romanized Dari.

Level 2 uses a model for each span's language. There is no level-2 model for Dari (prs). When a language model is missing, tools/mova-parse reports that in the # parse comment. Its output has _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL, with Parse=None in MISC. Mova has no Dari-specific tokenization, tagging, lemmatization or parsing. It holds no annotated Dari treebank and has no measured Dari treebank baseline. prag and world read English trees and have no parsed Dari trees to read.

Squid records the chapter's grammatical points as claims. Formalizable claims such as rules and closed lists wait in Squid's queue for a place in Mova's code. The rules in this chapter are unimplemented. The first candidates are the points needed by a tokenizer, a tagger and a Universal Dependencies treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/fa/prs/04-script-and-typography/