Mova0.6 pre-release

the flag of Morocco 7. Spelling, Punctuation and Numbers

Maghrebi Arabic is written in Arabic and Latin script. The spelling of a word can reflect a local pronunciation, a familiar Arabic spelling, or the conventions of a particular publication. Spaces, diacritics and punctuation can also vary within a single text. This chapter describes how to read these choices and where the written form leaves the pronunciation or grammatical structure open.

Spelling conventions and degrees of standardization

There is no single spelling standard or orthographic reform in force across the Maghrebi Arabic varieties covered here. A publication or corpus can adopt a convention for its own texts. Its choices about diacritics, consonant letters and spacing apply within that collection. They do not establish that a variant elsewhere is a spelling error or belongs to a different dialect.

An Arabic-script spelling can preserve a written stem familiar from Standard Arabic while leaving its local vowels or consonant values implicit. Writers can also spell closer to local pronunciation, for example by using a letter for a regional consonant or showing an assimilated consonant with a diacritic. A text can combine these practices from word to word. Latin-script writing likewise ranges from transcription with dedicated characters to informal writing with ordinary letters, digraphs and, in Arabizi, digits used for some consonants.

The conventions of a source determine what can be inferred from its spelling. The historical descriptions of Tlemcen and Tunisian Arabic and the collection of texts from Tripoli have distinct local scopes (Marçais 1902, title page; Stumme 1896, title page; Stumme 1898, title page). The modern MADAR shared task uses written material labeled by fine-grained dialect, including parallel travel-domain sentences. Its labels describe the data used in the task (Bouamor, Hassan, and Habash 2019, pp. 199–201).

A single author can select a few diacritics where they help the reader. Compare the following corpus fragments. Romanization suggests a reading of each form. Hyphens in a romanization or gloss mark grammatical divisions where relevant. They represent written hyphens only where one also appears in the form column.

Written formRomanizationGlossTranslationSource
أنا مَصريana maṣriI Egyptian.M‘I’m Egyptian’tatoeba:8120509, predication excerpt
اناanaI‘I’tatoeba:7351434
مْعَ ماريmʿa Māriwith Mary‘with Mary’tatoeba:8120125

The first form writes the initial hamza of the pronoun and marks the first vowel of the adjective. The second leaves the hamza mark off the initial alif. The third marks the cluster at the start of the preposition and its following vowel. These decisions concern individual signs. Even a marked word can leave other details of its reading implicit.

Spelling vowels, geminates and regional consonants

Vowels and diacritics

In ordinary Arabic-script prose, short vowels are commonly left unwritten. Alif, wāw and yāʾ frequently represent long vowels or the corresponding vowel qualities in dialect spelling. Wāw and yāʾ also represent the consonants /w/ and /y/. At the beginning of a word, alif can carry hamza or serve as the written support for an initial vowel. The same letters can be used to approximate the vowels of a loanword. Their contribution depends on the word, so counting vowel letters does not reliably give the number or length of its spoken vowels.

The three short-vowel signs can specify a reading. Sukūn indicates that a consonant has no following vowel at the point marked. Shadda marks consonant doubling. Signs may appear singly or together, and a word with one sign can leave the rest of its vowels or consonant lengths implicit.

SignNameReading when used in these functions
◌َfatḥaAn a-type vowel follows the consonant.
◌ِkasraAn i-type vowel follows the consonant.
◌ُḍammaA u-type vowel follows the consonant.
◌ْsukūnNo vowel follows the marked consonant.
◌ّshaddaThe marked consonant is doubled.

The vowel signs give a broad reading. They need not distinguish every local vowel quality or the weak vowels a speaker may use in breaking up a cluster. Arabic script can leave such a vowel implicit. A Latin spelling that supplies a vowel between the same consonants can reflect a local pronunciation or the writer’s transcription convention.

Written formRomanizationGlossTranslationSource
مَصريmaṣriEgyptian.M‘Egyptian’tatoeba:8120509
برْكbarkonly‘only’tatoeba:2691010
لْعَبْتْهَاlʿab-t-haplay.PFV-1SG-3SG.F.OBJ‘I played it’tatoeba:7739644
نقرِّيn-qarri1SG-teach.IPFV‘I teach’tatoeba:2440285, verbal form

In لْعَبْتْهَا, sukūn on the initial consonant gives a reading with an initial cluster, and sukūn on the consonants before the suffix gives the sequence of consonants at that boundary. In نقرِّي, the sign for doubling appears with a vowel sign on the same consonant.

Geminates and the article

Shadda can represent doubling within the stem, as in the imperative in the table below. It can also show the doubling that results when the definite article assimilates to the following consonant. In the familiar Arabic spelling of the article, its lām remains on the page even if the following consonant takes a shadda and there is no separate [l] in the reading. Dialect spellings can also shorten the written article by omitting its initial alif, or write a vowel with the article in Latin script. A missing shadda leaves the presence of doubling to the reader. In Latin writing, doubled consonant letters are one way to show it where the writer distinguishes consonant length.

Written formRomanizationGlossTranslationSource
سلّمsalləmgreet.IMP‘greet’tatoeba:2581505
الدّراريd-drāriDEF-children‘the children’tatoeba:2581505
النّفسn-nəfsDEF-breath‘the breath’tatoeba:2581597
لخريفl-xrīfDEF-autumn‘the autumn’tatoeba:2449244
ssuqs-suqDEF-market‘the market’tatoeba:8097761

Regional consonants and borrowed sounds

Some letters carry more than one reading across varieties. A spelling with ق, for example, can preserve the familiar written root in a word pronounced with [q] in one variety and [g] in another. An extended letter such as ݣ or ڨ can make a [g] reading explicit where the writer uses that letter for /g/. These forms are choices within writing traditions. The choice between them alone cannot establish a writer’s locality, and a traditional letter alone cannot establish the pronunciation of a particular word.

Extended letters also occur in borrowings. The following spellings show examples of ݣ for g, ڥ for v and ژ for ž. A writer using the basic Arabic letter inventory may approximate a borrowed sound with an available letter. A borrowing written in Latin script can instead retain spelling from the source language. The spelling in either script should be read in the context of the word and the variety.

Written formRomanizationGlossTranslationSource
قالqāl or gālsay.PFV.3SG.M‘he said’(constructed)
ݣالgālsay.PFV.3SG.M‘he said’(constructed)
اللوݣوl-lōgoDEF-logo‘the logo’wiki:ary:العربية (قناة)
سوڥنيرsuvnīrsouvenir‘souvenir’tatoeba:7352005
لڥواياژl-vwāyāžDEF-trip‘the trip’tatoeba:7352005

Writing stems, affixes and attached clitics

Inflection and stem spelling

Arabic-script inflectional prefixes and suffixes are written with the stem. A person prefix at the left edge and a subject ending at the right edge belong to the same written word as the stem. The spelling can preserve a recognizable stem across inflections wherever its written consonants stay the same. Where inflection changes a written part of the stem, the form can show the change. One common case is feminine ة at the end of a free noun and ت when the ending is written with a following attached pronoun and pronounced with t.

The examples below show the distinction between an inflectional affix and a pronominal clitic. In عندي, the possessive expression uses a preposition with a pronominal ending. In صْرالو, the recipient expression consists of an attached preposition and its own pronominal ending. The whole complex in each case occupies one written word.

Written formRomanizationGlossTranslationSource
يحبوy-ḥəbb-u3-love.IPFV-PL‘they love’tatoeba:2449244
مدرسةmədrəsaschool.F‘a school’(constructed)
مدرستهاmədrəsət-haschool.F-3SG.F.POSS‘her school’(constructed)
عنديʿənd-iat-1SG‘I have’tatoeba:2775751
صْرالوṣrā-l-uhappen.PFV.3SG.M-to-3SG.M‘it happened to him’tatoeba:8120250

Attachment to the host

Common items written on a host include the definite article, short prepositions, object and possessive pronouns, and the suffix of discontinuous negation. Conjunctions and the first element of negation also occur attached, with spacing subject to the writer’s convention. The host can already contain inflection or another clitic. In كسّرلها, for example, the sequence after the verb contains both the preposition and the pronoun that it governs.

Negative ما can be joined to the following material or separated by a space. Where the construction has final ش, that element is usually joined at the right edge of its host. Material inside the negative expression may occupy several written words. For instance, the attested sequence ما على بالهومش places ما before the preposition and final ش after the pronoun on the noun. Thus the two negative elements can belong to the same construction across a visible space.

Written formRomanizationGlossTranslationSource
كسّرلهاkəssər-l-habreak.PFV.3SG.M-for-3SG.F‘he broke [it] for it’tatoeba:2581921, with the window as antecedent
ماتاكُلشma-tākul-šNEG-eat.IPFV.2SG-NEG‘don’t eat’tatoeba:2691010
ما على بالهومشma ʿla bāl-hum-šNEG on mind-3PL-NEG‘they don’t know’tatoeba:2581678
bent-ibent-idaughter-1SG.POSS‘my daughter’tatoeba:8086161

A Latin-script hyphen can visibly set off an ending, as in bent-i. It belongs to the spelling of this example. In Arabic script an attached ending commonly has no corresponding separator. Arabic letters that join only on one side can leave a visual gap inside a single word, so the shape of the line alone does not show where a space occurs.

Regional spelling, mixed spellings and word boundaries

Separation and fusion

Short grammatical words can be separated in one passage and attached in another. Moroccan spellings illustrate this with ف ‘in’ and د ‘of’. The separated preposition before a definite noun and the attached preposition before an indefinite noun in the table are examples of two written layouts. The article is also compatible with an attached preposition, as the excerpt containing فالانتصار shows. The definiteness of the following phrase does not determine spacing.

Written formRomanizationGlossTranslationSource
ف الشكلf š-šəklin DEF-form‘in the form’wiki:ary:ليستة د لمغالطات د لوجيك
فمعركةf-məʿrakain-battle‘in a battle’wiki:ary:رابحة الحيمر
فالانتصارf-l-intiṣārin-DEF-victory‘in the victory’wiki:ary:رابحة الحيمر
د قناةd qanātof channel‘of a channel’wiki:ary:العربية (قناة)
دالمرأةd-l-marʾaof-DEF-woman‘of the woman’wiki:ary:رابحة الحيمر
خيرمنxīr mənbetter than‘better than’tatoeba:2449244

The last example shows why a single written span can contain more than a host and its attached morphology. The comparative and the following preposition each contribute a recognizable grammatical element within a spelling with no space. Conversely, a word written with internal whitespace in a particular document needs to be read in its larger phrase. Spacing is evidence for how the writer grouped the material. The stem, affixes and grammatical words must also be identified from their forms and their roles in the construction.

Mixed scripts and spelling systems

Latin spelling can represent Maghrebi Arabic directly, as in Algerian usbuɛ ‘week’, using ɛ for the consonant at the end of the word (tatoeba:8097761). A Latin sequence can also be an imported spelling, name or acronym within Arabic text. The script marks a change in the written material. The surrounding syntax helps establish whether the item names something in the sentence, supplies a gloss, or begins a passage in another language.

Written formRomanizationGlossTranslationSource
الويكاندl-wīkāndDEF-weekend‘the weekend’tatoeba:8120125
الجائزة الدولية دالمرأة الشجاعة (IWOC)l-žāʾiza d-dawliyya d-l-marʾa š-šu žāʿa (IWOC)DEF-award DEF-international of-DEF-woman DEF-courageous (acronym)‘the International Women of Courage Award (IWOC)’wiki:ary:رابحة الحيمر

The loan in the first example takes an Arabic article and is written wholly in Arabic script. The second example gives an Arabic title followed by a parenthesized Latin acronym. The acronym’s parentheses delimit an explanatory element, while the article and genitive forms belong to the Arabic phrase.

Punctuation in Arabic and Latin writing

Arabic-script prose can use Arabic punctuation characters alongside marks shared with Latin writing. The Arabic comma ،, semicolon ؛ and question mark ؟ have different character forms from their Latin counterparts ,, ; and ?. A writer may use Latin forms in Arabic-script material, especially in a mixed-script line or a list. Ordinary sentence-final . and !, the colon, and paired parentheses occur in both scripts. The main functions are as follows.

FunctionFormsUse
Full stop.Closes a statement or another unit presented as complete. It can also be part of an abbreviation or a number.
Question mark؟ or ?Closes a direct question when the question is marked in writing.
Exclamation mark!Marks an exclamation or gives force to an utterance such as a call or command.
Comma، or ,Divides list items or separates units within a sentence. The Latin comma also has numeric uses.
Semicolon؛ or ;Separates closely related clauses or items that need a stronger division than a comma. In listings it can serve as a field separator.
Colon:Introduces a list, an explanation, quoted speech or a value after a label. It also separates units in clock notation.
Ellipsis… or ...Represents omitted material, a trailing utterance or a pause marked by the writer.
Parentheses( and )Enclose supplementary material, including acronyms and title qualifiers.
Quotation marks«…», “…” or "…"Enclose speech, quotations or a cited expression.
Hyphen and dash-, – or —A hyphen can mark a spelling division. A dash can indicate a range, parenthetical break or dialogue turn, according to layout.

Punctuation is ordinarily set directly after the preceding text when it closes a unit, with a space before further text on the same line. Paired marks conventionally enclose their content without spaces immediately inside, with quotation spacing also subject to publication style. Spaces between headings, labels and values can follow a table or list convention. A printed question mark can identify an utterance as a question even when its spelling contains no question word. Clause structure and intonation can carry that function in an unpunctuated message.

Written fragmentRomanizationGlossTranslationSource
لحق؟l-ḥaqq?DEF-right‘the right?’tatoeba:2445146, end of a question
الحوت برْك. كولl-ḥūt bark. kūlDEF-fish only. eat.IMP‘only fish. Eat’tatoeba:2691010, across a sentence boundary
صاحّا،ṣaḥḥa,well.INTJ‘all right,’tatoeba:7352121
تاريخ د تّأسيس; 2011tārīx d t-taʾsīs; 2011date of DEF-founding; 2011‘Founding date, 2011’wiki:ary:إنصا, listing fields

Arabic runs read from right to left. An embedded Latin sequence or multi-digit number still reads internally from left to right. A period or parenthesis next to one of these runs can appear on an unexpected side in a plain-text display. Read the mark in relation to the text it closes or encloses. In the display .Hadi bent-i (tatoeba:8086161), Hadi bent-i means ‘This is my daughter’ (Hadi, DEM.F.SG, and bent-i, daughter-1SG.POSS). The displayed position of the full stop is separate from the grammatical order of the Latin-script words.

Capitalization, abbreviations and typography

Arabic letters have no upper- and lowercase distinction. A personal name, a sentence beginning and an ordinary word all use the same letter inventory. A letter’s initial, medial, final or isolated shape follows its joining behavior and position. In Latin writing, sentence-initial capitals and capitals in proper names are available. Informal Latin writing may omit them. Capitals can also belong to an acronym or retained spelling within an otherwise Arabic-script sentence.

The Latin corpus form Hadi ‘this’ (DEM.F.SG, tatoeba:8086161) has an initial capital in sentence-initial position. Arabic توم (Tūm, Tom, ‘Tom’, tatoeba:8120125) identifies a name by its spelling and context. In the title excerpt with IWOC above, the capitals are part of the Latin acronym, which is enclosed by parentheses.

Treat the punctuation of an abbreviation as part of the form if the abbreviation convention calls for it. A period inside a sequence of initials can separate initials, while a period following a complete utterance can close the sentence. All-capital acronyms such as IWOC can appear without internal periods. Parentheses after a full name can supply an acronym, an explanation, or a qualifier such as قناة (qanāt, channel, ‘channel’) after the channel name in wiki:ary:العربية (قناة).

In Arabic typography, joining and ligature shapes belong to the rendering of the letter sequence. The connected shape of lām followed by alif, for example, still represents those two letters. A stretch of type added for visual length, as with tatwīl ـ, carries no vowel or gemination by itself. Diacritics such as shadda and sukūn attach to a letter in the drawn word and retain their distinct reading functions. Highlighting through type size or weight can identify a title or heading in either script while leaving the word’s spelling intact.

Digit sets, number separators and dates

Digit sets and separators

Western digits occur inside Arabic-script text, including in the Moroccan dates below. Arabic-Indic digits can also represent the same decimal values. The choice of digit set is a writing convention. It does not specify the spoken form, the dialect or the calendar. A multi-digit number keeps the positional order of its digits within a right-to-left line.

ValueWestern digitArabic-Indic digit
Zero0٠
One1١
Two2٢
Three3٣
Four4٤
Five5٥
Six6٦
Seven7٧
Eight8٨
Nine9٩

The separator inside a number depends on the formatting convention. A decimal separator divides the whole-number part from the fraction. A grouping separator sets off groups of digits in the whole-number part. The Arabic decimal mark ٫ and grouping mark ٬ have distinct characters. In Western-digit settings, a point or comma can mark the decimal boundary. Grouping can use a comma, a point or a space, depending on the convention. A number can also be written without grouping, as in the attested years. An isolated Western-digit form with a single point or comma can be ambiguous if the formatting convention is unknown.

Written formStructural glossValue or interpretationSource
1,234.51 GROUP 234 DECIMAL 5‘one thousand two hundred thirty-four and five tenths’(constructed)
1 234,51 GROUP 234 DECIMAL 5‘one thousand two hundred thirty-four and five tenths’(constructed)
١٬٢٣٤٫٥1 GROUP 234 DECIMAL 5‘one thousand two hundred thirty-four and five tenths’(constructed)
1,2341 GROUP 234 or 1 DECIMAL 234‘one thousand two hundred thirty-four’ or ‘one and two hundred thirty-four thousandths’(constructed)

A numeral written as a word belongs to the grammar of the phrase. An Algerian example is تمنيا خاوة (tmanya xāwa, eight siblings, ‘eight siblings’, tatoeba:2775751). Digits can record the same quantity without recording the local pronunciation of the numeral. In running prose the reader supplies the reading called for by the surrounding construction.

Dates

A date can combine a day and year in digits with a month in words. In the Moroccan examples below the order is day, month, year. The written month identifies the middle element and can itself have a regional form, as شتنبر ‘September’ illustrates. A field labeled as a founding date can contain a year alone, as 2011 does in the listing for wiki:ary:إنصا.

Written formRomanizationGlossTranslationSource
من 24 أبريل 2020mən 24 abrīl 2020from 24 April 2020‘since 24 April 2020’wiki:ary:العربية (قناة)
15 شتنبر 191215 šutanbir 191215 September 1912‘15 September 1912’wiki:ary:إسماعيل ياسين
24/04/202024/04/2020day/month/year‘24 April 2020’(constructed)
2020-04-242020-04-24year-month-day‘24 April 2020’(constructed)

In a fully numeric date, slashes or hyphens separate the fields. Their values, order and widths can help identify the convention. The first field of 24/04/2020 exceeds the maximum month number. In a form such as 04/05/2020 (constructed), both initial fields could be months. In day–month–year order the date is ‘4 May 2020’. In month–day–year order it is ‘5 April 2020’. The surrounding document can settle the order. Calendar identification likewise depends on the month name, an explicit label or context. The digit set alone leaves it open.

How Mova handles spelling variants and token boundaries

At level 1 of tools/mova-parse, tools/langseg labels sentences and spans by language within its coverage. Arabic script falls under other. The Latin-script recognition of English and French supplies no dedicated recognition of Maghrebi Arabic written in Latin characters.

At level 2, tools/mova-parse has no model for ar-x-maghrebi. The # parse comment reports the missing model. For tokens in a span without a model, LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL are _, and MISC contains Parse=None. Mova has no Maghrebi Arabic tokenization, tagging, lemmatization or parsing for the spelling and boundary conventions described here.

Mova holds unannotated Tatoeba sentences for arq, ary and ayl as plain text. It makes no measurement on them. It has no annotated Maghrebi Arabic treebank and no measured treebank baseline.

Squid reads the manual and turns grammatical points into claims. Formalizable points, including rules and closed lists, enter its queue. The chapter’s conventions have no implementation yet. The first points for implementation are those 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/ar/ar-x-maghrebi/07-spelling/