1# Rime schema 2# encoding: utf-8 3 4schema: 5 schema_id: wugniu_lopha 6 name: 上海吳語 7 version: "0.14" 8 author: 9 - 上海閒話abc <tzyyiggnih@yahoo.com.cn> 10 - 吳語越音 <zhufya@mail.ustc.edu.cn> 11 description: | 12 上海言話(老派) 13 拼寫方案採用《吳語拉丁式注音法》 14 http://input.foruto.com/wu/method.html 15 dependencies: 16 - luna_pinyin 17 18switches: 19 - name: ascii_mode 20 reset: 0 21 states: [ 中文, 西文 ] 22 - name: full_shape 23 states: [ 半角, 全角 ] 24 - name: simplification 25 states: [ 漢字, 汉字 ] 26 - name: ascii_punct 27 states: [ 。,, ., ] 28 29engine: 30 processors: 31 - ascii_composer 32 - recognizer 33 - key_binder 34 - speller 35 - punctuator 36 - selector 37 - navigator 38 - express_editor 39 segmentors: 40 - ascii_segmentor 41 - matcher 42 - abc_segmentor 43 - punct_segmentor 44 - fallback_segmentor 45 translators: 46 - punct_translator 47 - script_translator 48 - reverse_lookup_translator 49 filters: 50 - simplifier 51 - uniquifier 52 53speller: 54 alphabet: zyxwvutsrqponmlkjihgfedcba 55 delimiter: " '" 56 algebra: 57 - abbrev/^([bcdfghjklprstvwxyz]).+$/$1/ # 對齊標準行 58 - derive/^dz/z/ 59 - derive/(.*)aoq/$1aq/ 60 - derive/(.*)ae/$1e/ 61 #- derive/^tzi/ci/ # 以下四行是模糊分尖團音 62 #- derive/^tsi/chi/ 63 #- derive/^zi/ji/ 64 #- derive/^si/xi/ 65 - derive/^(c|ch|d?j|gn|x|y)i([aeou])/$1$2/ # 本行不要改動 66 #- derive/^tzyu/tzy/ # 以下四行是模糊“書”“詩” 67 #- derive/^tsyu/tsy/ 68 #- derive/^zyu/zy/ 69 #- derive/^syu/sy/ 70 #- derive/(.*)ij/$1i/ # 模糊“煙”“衣” 71 #- derive/(.*)iaq/$1iq/ # 模糊“約”“一” 72 #- derive/^yaq/yiq/ # 模糊“藥”“頁” 73 #- derive/(.*)aon/$1an/ # 模糊前後an 74 #- derive/(.*)aq/$1eq/ # 模糊“搭”“得” 75 #- derive/(.*)eq/$1aq/ 76 #- derive/^yeu/yu/ # 模糊“遠”“與” 77 #- derive/(.*)ieu/$1iu/ # 模糊“宛”“餵” 78 #- derive/^vu/wu/ # 模糊“無”“何” 79 #- derive/(.*)ueu/$1eu/ # 模糊“碗”“按” 80 #- derive/^weu/reu/ # 模糊“換”“汗” 81 #- derive/^au/u/ # 模糊“查”“坐” 82 83translator: 84 dictionary: wugniu_lopha 85 spelling_hints: 5 86 87reverse_lookup: 88 dictionary: luna_pinyin 89 prefix: "`" 90 suffix: "'" 91 tips: 〔拼音〕 92 preedit_format: 93 - xform/([nl])v/$1ü/ 94 - xform/([nl])ue/$1üe/ 95 - xform/([jqxy])v/$1u/ 96 97punctuator: 98 import_preset: default 99 100key_binder: 101 import_preset: default 102 103recognizer: 104 import_preset: default 105 patterns: 106 reverse_lookup: "`[a-z]*'?$" 107