summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAarne Ranta <aarne@chalmers.se>2018-06-12 20:39:39 +0200
committerAarne Ranta <aarne@chalmers.se>2018-06-12 20:39:39 +0200
commit013f3573e6d310e6f00cf3cdeeaa15ab46855e24 (patch)
tree2cdc64554c6af51bc4c86c9775c1b7b3aa970772
parent5aa2a212bbbf6bce696665852d7da98f91c81d54 (diff)
added transliteration arabic_unvocalized, which omits the vowels
-rw-r--r--src/compiler/GF/Text/Transliterations.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler/GF/Text/Transliterations.hs b/src/compiler/GF/Text/Transliterations.hs
index 7645fc158..9b1b6e151 100644
--- a/src/compiler/GF/Text/Transliterations.hs
+++ b/src/compiler/GF/Text/Transliterations.hs
@@ -39,6 +39,7 @@ allTransliterations = Map.fromList [
("amharic",transAmharic),
("ancientgreek", transAncientGreek),
("arabic", transArabic),
+ ("arabic_unvocalized", transArabicUnvoc),
("devanagari", transDevanagari),
("greek", transGreek),
("hebrew", transHebrew),
@@ -178,6 +179,13 @@ transArabic = mkTransliteration "Arabic" allTrans allCodes where
allCodes = [0x0621..0x062f] ++ [0x0630..0x063a] ++
[0x0641..0x064f] ++ [0x0650..0x0657] ++ [0x0671,0x061f]
+
+transArabicUnvoc :: Transliteration
+transArabicUnvoc = transArabic{
+ invisible_chars = ["a","u","i","v2","o","V+","V-","a:"],
+ printname = "unvocalized Arabic"
+ }
+
transPersian :: Transliteration
transPersian = (mkTransliteration "Persian/Farsi" allTrans allCodes)
{invisible_chars = ["a","u","i"]} where