; This file is part of babel. For further details see:
;   https://www.ctan.org/pkg/babel

; Yannis Haralambous' system in his 'dad'. Only two rules are missing.
; 3-letter
transliteration.dad.1.0 = { {+}a{*} }
transliteration.dad.1.1 =   { string = ٰ }
transliteration.dad.1.2 =   { string = ّ }
transliteration.dad.1.3 =   { remove }
transliteration.dad.2.0 = { {+}([aui])N }
transliteration.dad.2.1 =   { string = {1|aui|ًٌٍ} }
transliteration.dad.2.2 =   { string = ّ }
transliteration.dad.2.3 =   { remove }
; 2-letter
transliteration.dad.3.0 = { ([aui])N }
transliteration.dad.3.1 =   { string = {1|aui|ًٌٍ} }
transliteration.dad.3.2 =   { remove }
transliteration.dad.4.0 = { ([tAa]){*} }
transliteration.dad.4.1 =   { string = {1|tAa|ةٱٰ} }
transliteration.dad.4.2 =   { remove }
transliteration.dad.5.0 = { ([tds])h }
transliteration.dad.5.1 =   { string = {1|tds|ثذش} }
transliteration.dad.5.2 =   { remove }
transliteration.dad.6.0 = { {+}([aui]) }
transliteration.dad.6.1 =   { string = {1|aui|َُِ} }
transliteration.dad.6.2 =   { string = ّ }
transliteration.dad.7.0 = { '([AauiIbnf]) }
transliteration.dad.7.1 =   { remove }
transliteration.dad.7.2 =   { string = {1|AauiIbnf|آأؤإئٮںڡ} }
; 1-letter
transliteration.dad.8.0 = { ([{007C}AbtjHxdrzsSDTZ`RfqklmnhUIYaui+opCvgJe]) }
transliteration.dad.8.1 =   { string = {1|{007C}AbtjHxdrzsSDTZ`RfqklmnhUIYaui+opCvgJe|ءابتجحخدرزسصضطظعغفقكلمنهوىيَُِّْپچڤگژۀ} }
; 
kashida.plain.1.0 = { ()[يئهشسقفغعضصنمكلظطخحجثتب]()[ًٍَُِّ]*[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
kashida.plain.1.1 =   { kashida = 500 }
kashida.plain.2.0 = { ()ل()[ًٍَُِّْ]*[اأإآٱ] }
kashida.plain.2.1 =   { kashida = 0 }
;
; First contributed by Christian Lück (@lueck)
kashida.base.1.0 = { ()[يئهشسقفغعضصنمكلظطخحجثتب]()[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
kashida.base.1.1 =   { kashida = 500 }
kashida.base.2.0 = { [يئهشسقفغعضصنمكلظطخحجثتب][ؐ-ًؚ-ٰٟۖ-ۭ࣓-ࣿ]*()[ؐ-ًؚ-ٰٟۖ-ۭ࣓-ࣿ]()[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
kashida.base.2.1 =   { kashida = 500 }
kashida.base.3.0 = { ()ـ()[يئهشسقفغعضصنمكلظطخحجثتباأإآوؤذدزرة] }
kashida.base.3.1 =   { kashida = 300 }
kashida.base.4.0 = { ـ[ؐ-ًؚ-ٰٟۖ-ۭ࣓-ࣿ]*()[ؐ-ًؚ-ٰٟۖ-ۭ࣓-ࣿ]() }
kashida.base.4.1 =   { kashida = 300 }
kashida.base.5.0 = { ()ل()[ًٍَُِّْ]*[اأإآٱ] }
kashida.base.5.1 =   { kashida = 0 }
kashida.base.6.0 = { ل()[ًٍَُِّْ]()[اأإآٱ] }
kashida.base.6.1 =   { kashida = 0 }

[labels]
dot.map = -