summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvirk.shafqat <virk.shafqat@gmail.com>2012-02-23 13:36:50 +0000
committervirk.shafqat <virk.shafqat@gmail.com>2012-02-23 13:36:50 +0000
commit4ba99446636fc3b937b95362a86db84538b8a1c4 (patch)
tree3563066a3fce5ab0585c8b78f59a584c125a8f05 /src
parentb99fa6aa9a828f98f82d2ede6266069f4c11cbc5 (diff)
hindi-resource-grammar
Diffstat (limited to 'src')
-rw-r--r--src/compiler/GF/Text/Transliterations.hs17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/compiler/GF/Text/Transliterations.hs b/src/compiler/GF/Text/Transliterations.hs
index 77a3e5f93..b51e4665f 100644
--- a/src/compiler/GF/Text/Transliterations.hs
+++ b/src/compiler/GF/Text/Transliterations.hs
@@ -123,15 +123,16 @@ transDevanagari :: Transliteration
transDevanagari =
(mkTransliteration "Devanagari"
allTransUrduHindi allCodes){invisible_chars = ["a"]} where
- allCodes = [0x0900 .. 0x095f]
+ allCodes = [0x0900 .. 0x095f] ++ [0x0966 .. 0x096f]
allTransUrduHindi = words $
- "- M N - - a- A- i- I- u- U- R- - - - e- " ++
- "E- - - o- O- k K g G N: c C j J n: t. " ++
- "T. d. D. n. t T d D n - p P b B m y " ++
- "r - l - - v S s. s h - - r: - A i " ++
- "I u U R - - - e E o O - - - - - " ++
- "- - - - - - - - - - - z r. - - - "
+ "- n~ m. h. - A A: I I: U U: r.- l.- - - E: " ++
+ "E+ - - O: O+ k k' g g' n- c c' j j' n* T " ++
+ "T' D D' N t t' d d' n - p p' b b' m y " ++
+ "r - l L - v s* S s h - - X~ - a: i " ++
+ "i: u u: r. l. - - e: e+ - - o: o+ X, - - " ++
+ "- - - - - - - - q x g. z R R' f - " ++
+ "N0 N1 N2 N3 N4 N5 N6 N7 N8 N9 "
transUrdu :: Transliteration
@@ -150,7 +151,7 @@ transUrdu =
transSindhi :: Transliteration
transSindhi =
(mkTransliteration "Sindhi" allTrans allCodes) where
- allCodes = [0x0626 .. 0x062f] ++ [0x0630 .. 0x063a] ++ [0x0641 .. 0x0648] ++
+ allCodes = [0x062e] ++ [0x0627 .. 0x062f] ++ [0x0630 .. 0x063a] ++ [0x0641 .. 0x0648] ++
[0x067a,0x067b,0x067d,0x067e,0x067f] ++ [0x0680 .. 0x068f] ++
[0x0699,0x0918,0x06a6,0x061d,0x06a9,0x06af,0x06b3,0x06bb,0x06be,0x06f6,0x06cc,0x06b1, 0x06aa, 0x06fd, 0x06fe] ++
[0x06f0 .. 0x06f9] ++ [0x061f,0x06D4]