arabic idn variants - gnso.icann.org

21
Sarmad Hussain Sarmad Hussain Center for Language Engineering Al-Khawarizmi Institute of Computer Science University of Engineering and Technology, Lahore www.cle.org.pk [email protected]

Upload: others

Post on 07-May-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Arabic IDN Variants - gnso.icann.org

Sarmad HussainSarmad HussainCenter for Language Engineering

Al-Khawarizmi Institute of Computer Science

University of Engineering and Technology, Lahore

www.cle.org.pk

[email protected]

Page 2: Arabic IDN Variants - gnso.icann.org

Arabic Script

ICANN San Francisco, March 2011 2

http://en.wikipedia.org/wiki/File:WritingSystemsoftheWorld4.png

Page 3: Arabic IDN Variants - gnso.icann.org

Arabic Script

� Writing system extended to represent multiple languages spoken in:

� Middle East: Arabic, Kurdish, Azerbaijani� Middle East: Arabic, Kurdish, Azerbaijani

� Africa: Arabic, Bedawi, Huasa, …

� Central Asia: Kazakh, Uighur, Kirghiz, Azerbaijani

� South Asia: Urdu, Pashto, Balochi, Sindhi, Kashmiri, Torwali, Burshuski, …

� South East Asia: Jawi

3ICANN San Francisco, March 2011

Page 4: Arabic IDN Variants - gnso.icann.org

� Consonantal (abjad)

� Consonants written explicitly

� Short vowels represented by optional vowel marks

� Long vowels are represented by optional short vowel

Arabic Script

� Long vowels are represented by optional short vowel marks plus one of the three consonantal letters: ا و ی

� Bidirectional� Letters written from right to left

� Digits written from left to right

4ICANN San Francisco, March 2011

� �� � ۱۲۳۴ا�� �� � ۱۲۳ا�� �� � ۱۲ا�� �� ۱ا�� � �� �اابا�� ا��

Page 5: Arabic IDN Variants - gnso.icann.org

Arabic Script

� Cursive� Characters join with others before and after them

� Four shapes: initial, medial, final and isolated for most characters

��� س ��� �ð چ � � �� بcharacters

� Some characters do no join with characters after them

� Unicode range U+0600-U+06FF and U+0750-U+77F

5ICANN San Francisco, March 2011

…ا ر ڑ ز ژ د ڈ ذ و

��� س ��� �ð چ � � �� ب

Page 6: Arabic IDN Variants - gnso.icann.org

سخر و القمر و مس الش

Arabic Script

� Multiple writing styles

� Naskh – Arabic, Sindhi, etc.

� Nastalique – Persian, Urdu, Pashto, etc.Pashto, etc.

� Others used frequently, but as stylistic variations

� Kufi

� Thuluth

� Diwani

� Riqa

6ICANN San Francisco, March 2011

Page 7: Arabic IDN Variants - gnso.icann.org

Sources of Variants

�intrinsically, some strings are considered equivalent by a language or script community

�extrinsically, script encoding scheme (Unicode) is non-optimal, introducing additional ambiguity for end-users

7ICANN San Francisco, March 2011

Page 8: Arabic IDN Variants - gnso.icann.org

Motivation

�Without Variant Management

�security threats, allowing for easy phishingphishing

�perception of a broken internet experience by end-user

8ICANN San Francisco, March 2011

Page 9: Arabic IDN Variants - gnso.icann.org

Issues

� Technical � Required combining marks� Optional combining marks� Same shape in a particular position� Similar shape in a particular position� Similar shape in a particular position� Digits� Joining characters – ZWNJ

� User Interface� Input method variation� Bidirectional rendering issues in applications� General rendering issues in applications

� Policy� Specification of language table� Bundling, blocking, reserving

9ICANN San Francisco, March 2011

Page 10: Arabic IDN Variants - gnso.icann.org

Required Combining Marks

Combining Mark

Composed Form

Decomposed FormUnicode

Normalized Form

◌U+0653

آU+0622

ا◌ U+0627 U+0653

DefinedU+0653 U+0622 U+0627 U+0653

U+0615ڑ

U+0691ر

U+0631 U+0615Not Defined

U+065B U+06EEد

U+062FNot Defined

10ICANN San Francisco, March 2011

Can you guess: ر ڑ

Page 11: Arabic IDN Variants - gnso.icann.org

Optional Combining Marks

� Vowel Marks

� Honorifics

� Consonantal Gemination

��

ا�� =ا ��

ا�� =ا

��

��≠ا

ا� …

11ICANN San Francisco, March 2011

اااا◌ U+0627 U+0653

آآآآ ااااU+0627 Not same

◌ا◌ا◌ا◌اU+0627 U+64F

ا ا ا ا ااااU+0627 same

��

��≠ا

ا

Page 12: Arabic IDN Variants - gnso.icann.org

Same Shape

Unicode Initial Form

Medial Form

Final Form Isolated Form

ک U+06A9 اک لکل کٹ کك اك لكل كٹ ك

12ICANN San Francisco, March 2011

ك U+0643 اك لكل كٹ كة U+0629 - - ةب ةة U+06C3 - - ۃب ة

Can you guess: پاكستان پاکستان

Page 13: Arabic IDN Variants - gnso.icann.org

Similar Shape

Unicode Initial Form Medial Form Final Form Isolated Form

U+06A9 ک اک لکل کٹ ک

ڪ U+06AA ڪ ل�ل �ٹ ڪ ڪ U+06AA ڪ ل�ل �ٹ ڪ

ت U+062A لت لتل تل ت

ٺ U+067A لٺ لٺل ٺل ٺ

13ICANN San Francisco, March 2011

پاڪستان پاڪسٺان پاكسٺان پاكستان پاکسٺان پاکستان

Page 14: Arabic IDN Variants - gnso.icann.org

DigitsASCII Arabic-Indic Eastern Arabic-Indic

(U+0030) 0 ٠(U+0660) ٠(U+06F0)

(U+0031) 1 ١(U+0661) ١(U+06F1)

(U+0032) 2 ٢(U+0662) ٢(U+06F2)

(U+0033) 3 ٣(U+0663) ٣(U+06F3)

123abc123

١٢٣abc١٢٣

١٢٣abc١٢٣

Different or Same?

(U+0033) 3 ٣(U+0663) ٣(U+06F3)

(U+0034) 4 ٤(U+0664) ۴(U+06F4)

(U+0035) 5 ٥(U+0665) ۵(U+06F5)

(U+0036) 6 ٦(U+0666) ۶(U+06F6)

(U+0037) 7 ٧(U+0667) ٧(U+06F7)

(U+0038) 8 ٨(U+0668) ٨(U+06F8)

(U+0039) 9 ٩(U+0669) ٩(U+06F9)

14ICANN San Francisco, March 2011

١٢٣abc١٢٣

١٢٣abc١٢٣

١٢٣abc123

123abc١٢٣

١٢٣abc123

123abc١٢٣

Page 15: Arabic IDN Variants - gnso.icann.org

ZWNJ

� Exact variants ?

� بط� �بط بط

� بط � ط ZWNJ ب

� N0n-exact variants?

خوبصورت�خوب صورت�

15ICANN San Francisco, March 2011

Page 16: Arabic IDN Variants - gnso.icann.org

User Interface Issues

� Typing a string in

� application V

� for language W

� in country X � in country X

� with keyboard Y

� in operating system Z

16ICANN San Francisco, March 2011

Page 17: Arabic IDN Variants - gnso.icann.org

Application Interfaces

17ICANN San Francisco, March 2011

Page 18: Arabic IDN Variants - gnso.icann.org

Application Interfaces

18ICANN San Francisco, March 2011

Page 19: Arabic IDN Variants - gnso.icann.org

Policy

� Complete and correct “Language” table� Mechanisms to record characters

� Mechanisms to record variants

� Mechanisms to record rules� ZWNJ

� Script Mixing

� Digit Mixing

� …

� Mechanisms to record differences in registration vs. resolution (e.g. kafs)

� Mechanisms to record registration differences� Variant bundling/blocking/reservation

19ICANN San Francisco, March 2011

Page 20: Arabic IDN Variants - gnso.icann.org

One World One Internet

Variant handling essential Variant handling essential

For secure unified internet experience to global users

using Internationalize Domain Names

Arabic scripts have significant variant issues

which must be addressed for this purpose

20ICANN San Francisco, March 2011

Page 21: Arabic IDN Variants - gnso.icann.org

21ICANN San Francisco, March 2011