1 ;; yi-yivo.mim -- Yiddish input method with YIVO transliteration
3 ;; Raghav Krishnapriyan (raghav.r.krishnapriyan@gmail.com)
5 ;; This file is part of the m17n contrib; a sub-part of the m17n
8 ;; The m17n library is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU Lesser General Public License
10 ;; as published by the Free Software Foundation; either version 2.1 of
11 ;; the License, or (at your option) any later version.
13 ;; The m17n library is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ;; Lesser General Public License for more details.
18 ;; You should have received a copy of the GNU Lesser General Public
19 ;; License along with the m17n library; if not, write to the Free
20 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 ;; Boston, MA 02110-1301, USA.
23 (input-method yi yivo)
25 (description "Yiddish input method using YIVO transliteration.
26 A short description of the YIVO transliteration scheme can be found here: http://www.ibiblio.org/pub/academic/languages/yiddish/mendele/vol4.170
27 A description of the YIVO orthography can be found in Mordkhe Schaechter, _Der eynheytlekher Yidisher oysleyg: Takones fun yidishn oysleyg_, New York: Yivo and Yiddish Language Resource Center of the League for Yiddish (6th ed. 1999).
46 ("A") ("b") ("d") ("f") ("g") ("h") ("H") ("k") ("l") ("m") ("n") ("p") ("r") ("s") ("S") ("t") ("u") ("v") ("y") ("z") ("B") ("K") ("T") ("W")
49 ("A") ("b") ("d") ("f") ("g") ("h") ("H") ("k") ("l") ("m") ("n") ("p") ("r") ("s") ("S") ("t") ("u") ("v") ("y") ("z") ("B") ("K") ("T") ("W") ("a") ("e") ("o") ("i") ("u")
101 ("uvu" "וּװוּ") ; For words like "tsuvuks!"
108 (openquotes ("\"" "„"))
109 (closequotes ("\"" "‟") ("?\"" "?‟") (".\"" ".‟") ("!\"" "!‟"))
120 ((BackSpace) (undo)))
125 (initials (shift subsq))
128 (otherchars (pushback 1) (shift subsq))
136 ((= @-1 ?ף) (delete @-1) (insert "פֿ"))
137 ((= @-1 ?ך) (delete @-1) (insert ?כ))
138 ((= @-1 ?ם) (delete @-1) (insert ?מ))
139 ((= @-1 ?ן) (delete @-1) (insert ?נ))
140 ((= @-1 ?ץ) (delete @-1) (insert ?צ))
150 (medials (shift subsq))
151 (abbreviations (shift init))