| 1 |
# © 2016 and later: Unicode, Inc. and others. |
| 2 |
# License & terms of use: http://www.unicode.org/copyright.html |
| 3 |
# Generated using tools/cldr/cldr-to-icu/ |
| 4 |
# |
| 5 |
# File: Hebr_Latn.txt |
| 6 |
# Generated from CLDR |
| 7 |
# |
| 8 |
|
| 9 |
# Transliteration table for Hebrew |
| 10 |
# Based on the UNGEGN table at: |
| 11 |
# http://www.eki.ee/wgrs/rom1_he.pdf |
| 12 |
# |
| 13 |
# Exceptions: |
| 14 |
# - Accents are added to disambiguate letters |
| 15 |
# - Combinations of dagesh, shin/sin dot that produce different |
| 16 |
# letters are not yet encoded. |
| 17 |
# |
| 18 |
# To test, open: |
| 19 |
# http://www.ibm.com/software/globalization/icu/demo/transform |
| 20 |
# Click Edit, paste in this file, Save As hebrew-latin/XXX |
| 21 |
# (where XXX is a username) |
| 22 |
# Now go back to the main window, and try it out. |
| 23 |
# Use hebrew-latin/XXX for Output 1, and (Inverse) for Output 2 |
| 24 |
# Paste in hebrew text in Input, and hit Transliterate. |
| 25 |
# |
| 26 |
# For more information, see: |
| 27 |
# http://icu.sourceforge.net/userguide/Transform.html |
| 28 |
:: [[־׳״][:Hebrew:] [:^ccc=0:] [\u05B0-\u05B9\u05BB-\u05BC\u05C1-\u05C2ℵ-ℸ\u0304\u05BF] - [\u05BD]] ; |
| 29 |
:: nfkd (nfc) ; |
| 30 |
׳ ↔ '′'; |
| 31 |
״ ↔ '″'; |
| 32 |
־ ↔ '-'; |
| 33 |
$letterAfter = [:M:]* [:L:] ; |
| 34 |
# move longer items here to avoid masking |
| 35 |
ח ↔ h\u0331 ; |
| 36 |
צ ↔ z\u0331 } $letterAfter; |
| 37 |
ץ ↔ z\u0331 ; |
| 38 |
ש ↔ s\u0327 ; |
| 39 |
ת ↔ t\u0327 ; |
| 40 |
א ↔ ʼ ; |
| 41 |
ב ↔ b ; |
| 42 |
ג ↔ g ; |
| 43 |
ד ↔ d ; |
| 44 |
ה ↔ h ; |
| 45 |
ו ↔ w ; |
| 46 |
ז ↔ z ; |
| 47 |
ט ↔ t ; |
| 48 |
י ↔ y ; |
| 49 |
כ ↔ k } $letterAfter; |
| 50 |
ך ↔ k ; |
| 51 |
ל ↔ l ; |
| 52 |
מ ↔ m } $letterAfter; |
| 53 |
ם ↔ m ; |
| 54 |
נ ↔ n } $letterAfter; |
| 55 |
ן ↔ n ; |
| 56 |
ס ↔ s ; |
| 57 |
ע ↔ ʻ ; |
| 58 |
פ ↔ p } $letterAfter; |
| 59 |
ף ↔ p ; |
| 60 |
ק ↔ q ; |
| 61 |
ר ↔ r ; |
| 62 |
װ → | וו; # HEBREW LIGATURE YIDDISH DOUBLE VAV |
| 63 |
ױ → | וי; # HEBREW LIGATURE YIDDISH VAV YOD |
| 64 |
ײ → | יי ; # HEBREW LIGATURE YIDDISH DOUBLE YOD |
| 65 |
\u05BC ↔ \u0307 ; # dagesh just goes to overdot for now |
| 66 |
\u05C1 ↔ \u030C ; # shin dot -→ sh |
| 67 |
\u05C2 ↔ \u0302 ; # sin dot -→ s |
| 68 |
# points |
| 69 |
$above = [^[:ccc=0:][:ccc=230:]]*; |
| 70 |
\u05B2 → à ; |
| 71 |
\u05B2 $1← a ($above) \u0300; |
| 72 |
\u05B8 → á ; |
| 73 |
\u05B8 $1 ← a ($above) \u0301; |
| 74 |
\u05B1 → è ; |
| 75 |
\u05B1 $1 ← e ($above) \u0300; |
| 76 |
\u05B5 → é ; |
| 77 |
\u05B5 $1 ← e ($above) \u0301; |
| 78 |
\u05B0 → e \u0306 ; |
| 79 |
\u05B0 $1 ← e ($above) \u0306; |
| 80 |
\u05B9 → ò ; |
| 81 |
\u05B9 $1 ← o ($above) \u0300; |
| 82 |
\u05B4 ↔ i ; |
| 83 |
\u05BB ↔ u ; |
| 84 |
\u05B7 ↔ a ; |
| 85 |
\u05B6 ↔ e ; |
| 86 |
\u05B3 ↔ o ; |
| 87 |
\u05BF ↔ \u0304 ; |
| 88 |
# fallbacks |
| 89 |
ק ← c ; |
| 90 |
פ ← f } $letterAfter; |
| 91 |
ף ← f ; |
| 92 |
ז ← j ; |
| 93 |
ו ← v ; |
| 94 |
כס ← x ; |
| 95 |
:: (lower); |
| 96 |
:: nfc (nfd) ; |
| 97 |
:: ([[-′″][:Latin:] [:^ccc=0:] [ʻ-ʼ\u0300-\u0302\u0307\u030C\u0327\u0331\u0340-\u0341 \u0304 ]]); |
| 98 |
|