HEX
Server: Apache
System: Linux iad1-shared-e1-26 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: ricpug (13815490)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/share/m17n/zh-pinyin-vi.mim
;;Created by:Trần Ngọc Quân
;;Email: vnwildman@gmai.com
;; zh-pinyin-vi.mim -- Input method for Chinese Pinyin characters using "j" for first tone "s" for the second tone, "r" and "f" for the third and fourth tone.

(input-method zh pinyin-vi)

(description "Input method for Chinese Pinyin characters.Note that it's not for inputting Han characters.")

(title "PinYinVi")

(map
 (tone
  ("j" (select 1))
  ("s" (select 2))
  ("r" (select 3))
  ("f" (select 4))))

(include (zh pinyin) map vowel)

(state
 (init
  (vowel (shift select)))
 (select
  (tone (shift init))))