Jump to content

Arabic letter frequency

From Wikipedia, the free encyclopedia

The frequency of letters in text has often been studied for use in cryptanalysis, and frequency analysis in particular.

No language has an exact letter frequency distribution, as all writers write slightly differently. As a rule texts in different languages using the Arabic script (e.g. Arabic, Ottoman Turkish, Persian and Urdu) will have different letter frequencies, most obviously in the case of letters which are only used in some languages (e.g. the Persian letters پ, چ, گ, which are not used to write in Arabic).

Methods encoding the most frequent letters with the shortest symbols were pioneered by telegraph codes, and are used in modern data-compression techniques such as Huffman coding.

What gets counted in input Arabic text?

The Arabic alphabet consists of 28 primary letters, these are letters 1 to 28 in Table 1. The eight modified letters listed in positions 29 to 36 in the same table are used just the same[clarification needed]. If these 8 modified forms are folded into the primary list based on shape or phonetic similarity, the outcome then is as shown in Table 2. For accurate frequency analysis, each of the 36 letters of Table 1 gets its frequency counted independently.

The ordering of the alphabet shown in the tables is more logical[citation needed] than is used by the Unicode standard.

Figure 1: Arabic characters that can be produced using the Arabic Letter Keyboard Intellark.
Table 1: The Arabic alphabet. Letters 1 to 28 are the primary letters. Letters 29 to 36 are the modified letters.
Table 2: The Arabic alphabet, with modified letters lumped onto their primary forms.
Letter frequency distribution for the counted letters: Histogram data sorted on Unicode value
Letter frequency distribution for the counted letters: Histogram data sorted on frequency

Although the full set of Arabic characters includes about ten diacritics as shown in the Figure 1, frequency analysis of Arabic characters is only concerned with computing the frequency of alphabet letters shown in Table 2.

Sources with over five million letters

The following famous Arabic sources are used to generate an acceptable amount of data on which frequency statistics are conducted.

  • The first seven volumes of the series البداية والنهاية (The Beginning and The End)[1] of Ibn Kathir, with 2,855 pages, containing 1,096,047 words, containing 4,326,031 letters.
  • The book of الرحيق المختوم (The Sealed Nectar)[2] of Almubarakfuri, with 284 pages, containing 134,662 words, containing 553,740 letters.
  • The book of تحفة العروسين (The Masterpiece of the Brides)[3] of Al-shuri, with 239 pages, containing 66,550 words, containing 242,361 letters.

Collectively, these sources add up to 3,378 pages, with 1,297,259 words, and 5,122,132 letters.

The following graphs show the letter frequency distribution for the counted letters; Figure 2 shows a histogram data sorted on Unicode value. Figure 3 shows a histogram data sorted on frequency.

Letter Relative frequency in the Arabic language
ء 0.2% 0.2
 
ؤ 0.05% 0.05
 
ئ 0.18% 0.18
 
ا 12.5% 12.5
 
آ 0.1% 0.1
 
أ 3% 3
 
إ 1% 1
 
ب 4.5% 4.5
 
ة 3.2% 3.2
 
ت 0.8% 0.8
 
ث 1.1% 1.1
 
ج 1.8% 1.8
 
ح 0.8% 0.8
 
خ 0.9% 0.9
 
د 2.5% 2.5
 
ذ 0.8% 0.8
 
ر 4.1% 4.1
 
ز 0.4% 0.4
 
س 2.3% 2.3
 
ش 0.7% 0.7
 
ص 0.9% 0.9
 
ض 0.4% 0.4
 
ط 0.5% 0.5
 
ظ 0.1% 0.1
 
ع 3.9% 3.9
 
غ 0.3% 0.3
 
ف 2.7% 2.7
 
ق 2.6% 2.6
 
ك 1.9% 1.9
 
ل 12% 12
 
م 6.3% 6.3
 
ن 6.4% 6.4
 
ه 5% 5
 
و 5.8% 5.8
 
ى 1% 1
 
ي 6.2% 6.2
 

References

  1. ^ Ibn Kathir, Ismail (13??). The beginning and the End (in Arabic). Retrieved 23 January 2011. {{cite book}}: Check date values in: |year= (help)CS1 maint: year (link)
  2. ^ Almubarakfuri, Safiyyurrahman (2002). The Sealed Nectar (in Arabic). ISBN 978-1591440710. Retrieved 24 January 2011.
  3. ^ Ash-shuri, Majdi (19??). Masterpiece of the Bride (in Arabic). Retrieved 24 January 2011. {{cite book}}: Check date values in: |year= (help)CS1 maint: year (link)