Commits

Eric Roshan Eisner committed 06f72c5

m17n: my custom input mappings

shavian and and roman-phonetic persian

  • Participants
  • Parent commits e802924

Comments (0)

Files changed (4)

.m17n.d/fa-roman.mim

+;; fa-roman.mim -- Input method for Farsi using phonetic English layout
+
+(input-method fa fa-roman)
+
+(description "Farsi input method using American keyboard.")
+
+(title "ف")
+
+(map
+ (generic
+  ;; digits
+  ("1" "۱")
+  ("2" "۲")
+  ("3" "۳")
+  ("4" "۴")
+  ("5" "۵")
+  ("6" "۶")
+  ("7" "۷")
+  ("8" "۸")
+  ("9" "۹")
+  ("0" "۰")
+
+  ;; alefbe
+  ("a" "ا")  ;; alef
+  ("b" "ب")  ;; be
+  ("p" "پ")  ;; pe
+  ("t" "ت")  ;; te
+  ("S" "ث")  ;; se
+  ("j" "ج")  ;; jim
+  ("c" "چ")  ;; che
+  ("H" "ح")  ;; he-ye jimi
+  ("x" "خ")  ;; xe
+  ("d" "د")  ;; dal
+  ("Z" "ذ")  ;; zal
+  ("r" "ر")  ;; re
+  ("z" "ز")  ;; ze
+  ("zh" "ژ") ;; zhe
+  ("s" "س")  ;; sin
+  ("sh" "ش") ;; shin
+  ("ss" "ص") ;; sad
+  ("zz" "ض") ;; zad
+  ("T" "ط")  ;; ta
+  ("ZZ" "ظ") ;; za
+  ("'" "ع")  ;; eyn
+  ("Q" "غ")  ;; qeyn
+  ("f" "ف")  ;; fe
+  ("q" "ق")  ;; qaf
+  ("k" "ک")  ;; kaf
+  ("g" "گ")  ;; gaf
+  ("l" "ل")  ;; lam
+  ("m" "م")  ;; mim
+  ("n" "ن")  ;; nun
+  ("v" "و")  ;; vav
+  ("h" "ه")  ;; he
+  ("y" "ی")  ;; ye
+
+  ;; other letters
+  ("aa" "آ") ;; alef with madda
+
+  ;; short vowel marks
+  ("A" "َ") ;; fatha
+  ("E" "ِ") ;; kasra
+  ("O" "ُ") ;; damma
+  
+  ;; punctuation
+  ("?" "؟")
+  ("," "،")
+  (";" "؛")
+  (">>" "«") ;; this one goes first, even right to left
+  ("<<" "»")
+
+  ("~" "‍") ;; zero width joiner
+  ("`" "‌") ;; zero width non-joiner
+  ("{" "‎") ;; left to right mark
+  ("}" "‏") ;; right to left mark
+
+  ))
+
+(state
+ (init
+  (generic)))
+
+;; Local Variables:
+;; mode: lisp
+;; End:

.m17n.d/icons/fa-fa-roman.png

Added
New image

.m17n.d/icons/shaw-shavian.png

Added
New image
+;;; Copyright (C) 2008 Eric Eisner
+
+(input-method shaw shavian)
+
+(title "𐑖")
+
+(description "Meant for writing the Shavian alphabet with English keyboard")
+
+(map
+  (trans
+ 
+;;; CONSONANTS ;;;
+
+("p" "𐑐")  ; peep
+("b" "𐑚")  ; bib
+("t" "𐑑")  ; tot
+("d" "𐑛")  ; dead
+("k" "𐑒")  ; kick
+("g" "𐑜")  ; gag
+("th" "𐑔")  ; thigh
+("dh" "𐑞")  ; they
+("f" "𐑓")  ; fee
+("v" "𐑝")  ; vow
+("s" "𐑕")  ; so
+("z" "𐑟")  ; zoo
+
+("sh" "𐑖")  ; sure
+("zh" "𐑠")  ; measure
+("c" "𐑗")  ; church
+("j" "𐑡")  ; judge
+("y" "𐑘")  ; yea
+("w" "𐑢")  ; woe
+("ng" "𐑙")  ; hung
+("h" "𐑣")  ; haha
+("l" "𐑤")  ; loll
+("r" "𐑮")  ; roar
+("m" "𐑥")  ; mime
+("n" "𐑯")  ; nun
+
+;;; VOWELS ;;;
+
+("i" "𐑦")  ; if
+("I" "𐑰")  ; eat
+("ei" "𐑱")  ; age
+("ai" "𐑲")  ; ice (eyes)
+("E" "𐑧")  ; egg
+("a" "𐑨")  ; ash
+("e" "𐑩")  ; ado
+("O" "𐑪")  ; on (merged with ah in my dialect)
+("uh" "𐑳") ; up
+("o" "𐑴")  ; oak
+("u" "𐑫")  ; wool
+("U" "𐑵")  ; ooze
+("au" "𐑬")  ; out
+("oi" "𐑶")  ; oil
+("A" "𐑭")  ; ah/father
+("aw" "𐑷")  ; awe
+
+;;; LIGATURES ;;;
+
+("Ar" "𐑸")  ; are [ah roar]
+("awr" "𐑹") ; or [awe roar]
+("eir" "𐑺") ; air [age roar]
+("uhr" "𐑻")  ; err [up roar]
+("er" "𐑼")  ; array [ado roar]
+("Ir" "𐑽")  ; ear [eat roar]
+("Ie" "𐑾")  ; ian [eat ado]
+("yU" "𐑿")  ; yew [yea ooze]
+
+;;; NAMER DOT ;;;
+("/" "·")  ; namer dot
+
+   ))
+
+(state
+  (init
+    (trans)))