blob: 63af43f7be106efc2ec04f49ceb4f366aedc6c94 [file] [log] [blame]
// Copyright (c) 1999-2000, International Business Machines
// Corporation and others. All Rights Reserved.
// Tool: src\com\ibm\tools\translit\dumpICUrules.bat
// Source: src\com\ibm\text\resources/
// Date: Wed Jul 5 16:11:18 2000
// Latin-Arabic
larabic {
Rule {
// To Do: finish adding shadda, add sokoon
// [Is this done? Can someone finish this?]
// Doubles - liu
"t'' < {$teh} [$teh$theh$tehmarbuta$tah];"
"h'' < {$heh} [$heh$hah];"
"s'' < {$seen} $sheen;"
// A few pathological special cases to make round
// trip work. - liu
"d'~'d <> $dal $dal;"
"dh'~'dh <> $dhal $dhal;"
"dd'~'dd <> $dad $dad;"
// Shadda: Map x $shadda to x x, where x is dh, dd, or
// d (that is, $dhal, $dad, or $dal). If x is d, d'd is
// output. Net effect is to map like $dad $shadda
// to dd'dd. - liu
"$dhal {dh} <> dh {$shadda};"
"$dad {dd} <> dd {$shadda};"
"$dal {''d} [^dh] <> d {$shadda};" // Avoid d'dd or d'dh
// [This should be removed, but it's good for demos]
"\u062a\u062a\u0645\u062a\u0639' '"
"\u0627\u0644\u0644\u063a\u0629' '"
"\u0627\u0644\u0639\u0631\u0628\u0628\u064a\u0629' '"
"\u0628\u0628\u0646\u0638\u0645' '"
"\u0643\u062a\u0627\u0628\u0628\u064a\u0629' '"
// Main rules
// One-way Latin-Arabic compatability rules
// Digits
"0<>\u0660;" // Arabic digit 0
"1<>\u0661;" // Arabic digit 1
"2<>\u0662;" // Arabic digit 2
"3<>\u0663;" // Arabic digit 3
"4<>\u0664;" // Arabic digit 4
"5<>\u0665;" // Arabic digit 5
"6<>\u0666;" // Arabic digit 6
"7<>\u0667;" // Arabic digit 7
"8<>\u0668;" // Arabic digit 8
"9<>\u0669;" // Arabic digit 9
"'%'<>\u066A;" // Arabic %
"'.'<>\u066B;" // Arabic decimal separator
"','<>\u066C;" // Arabic thousands separator
"'*'<>\u066D;" // Arabic five-pointed star