# Rime schema settings # encoding: utf-8 # Copyright (C) Mirtle # License: CC BY-SA 4.0 DEED (https://creativecommons.org/licenses/by-sa/4.0/) schema: schema_id: radical_pinyin name: "偏旁部件拆字" version: "1.02" author: Mirtle description: | 用拼音按顺序拼出偏旁部件,以输入汉字。 码表:開放詞典 / henrysting / Mirtle 注音、校对、方案:Mirtle 报错: engine: processors: - ascii_composer - recognizer - key_binder - speller - punctuator - selector - navigator - express_editor segmentors: - ascii_segmentor - matcher - abc_segmentor - punct_segmentor - fallback_segmentor translators: - echo_translator - punct_translator - table_translator speller: alphabet: "abcdefghijklmnopqrstuvwxyz;" delimiter: " '" algebra: # 根据当前所用拼音方案选择 __include 的值 __include: algebra_pinyin # 全拼 # __include: algebra_double_pinyin # 自然码双拼 # __include: algebra_flypy # 小鹤双拼 # __include: algebra_mspy # 微软双拼 # __include: algebra_sogou # 搜狗双拼 # __include: algebra_abc # 智能ABC双拼 # __include: algebra_ziguang # 紫光双拼 translator: dictionary: radical_pinyin enable_user_dict: false punctuator: import_preset: default key_binder: import_preset: default recognizer: import_preset: default algebra_pinyin: - xform/'// - derive/^([nl])ue$/$1ve/ - derive/'([nl])ue$/'$1ve/ - derive/^([jqxy])u/$1v/ - derive/'([jqxy])u/'$1v/ algebra_double_pinyin: - derive/^([jqxy])u(?=^|$|')/$1v/ - derive/'([jqxy])u(?=^|$|')/'$1v/ - derive/^([aoe])([ioun])(?=^|$|')/$1$1$2/ - derive/'([aoe])([ioun])(?=^|$|')/'$1$1$2/ - xform/^([aoe])(ng)?(?=^|$|')/$1$1$2/ - xform/'([aoe])(ng)?(?=^|$|')/'$1$1$2/ - xform/iu(?=^|$|')// - xform/[iu]a(?=^|$|')// - xform/[uv]an(?=^|$|')// - xform/[uv]e(?=^|$|')// - xform/ing(?=^|$|')|uai(?=^|$|')// - xform/^sh// - xform/^ch// - xform/^zh// - xform/'sh/'/ - xform/'ch/'/ - xform/'zh/'/ - xform/uo(?=^|$|')// - xform/[uv]n(?=^|$|')/

/ - xform/([a-z>])i?ong(?=^|$|')/$1/ - xform/[iu]ang(?=^|$|')// - xform/([a-z>])en(?=^|$|')/$1/ - xform/([a-z>])eng(?=^|$|')/$1/ - xform/([a-z>])ang(?=^|$|')/$1/ - xform/ian(?=^|$|')// - xform/([a-z>])an(?=^|$|')/$1/ - xform/iao(?=^|$|')// - xform/([a-z>])ao(?=^|$|')/$1/ - xform/([a-z>])ai(?=^|$|')/$1/ - xform/([a-z>])ei(?=^|$|')/$1/ - xform/ie(?=^|$|')// - xform/ui(?=^|$|')// - xform/([a-z>])ou(?=^|$|')/$1/ - xform/in(?=^|$|')// - xform/'|<|>// algebra_flypy: - derive/^([jqxy])u(?=^|$|')/$1v/ - derive/'([jqxy])u(?=^|$|')/'$1v/ - derive/^([aoe])([ioun])(?=^|$|')/$1$1$2/ - derive/'([aoe])([ioun])(?=^|$|')/'$1$1$2/ - xform/^([aoe])(ng)?(?=^|$|')/$1$1$2/ - xform/'([aoe])(ng)?(?=^|$|')/'$1$1$2/ - xform/iu(?=^|$|')// - xform/(.)ei(?=^|$|')/$1/ - xform/uan(?=^|$|')// - xform/[uv]e(?=^|$|')// - xform/un(?=^|$|')// - xform/^sh// - xform/^ch// - xform/^zh// - xform/'sh/'/ - xform/'ch/'/ - xform/'zh/'/ - xform/uo(?=^|$|')// - xform/ie(?=^|$|')/

/ - xform/([a-z>])i?ong(?=^|$|')/$1/ - xform/ing(?=^|$|')|uai(?=^|$|')// - xform/([a-z>])ai(?=^|$|')/$1/ - xform/([a-z>])en(?=^|$|')/$1/ - xform/([a-z>])eng(?=^|$|')/$1/ - xform/[iu]ang(?=^|$|')// - xform/([a-z>])ang(?=^|$|')/$1/ - xform/ian(?=^|$|')// - xform/([a-z>])an(?=^|$|')/$1/ - xform/([a-z>])ou(?=^|$|')/$1/ - xform/[iu]a(?=^|$|')// - xform/iao(?=^|$|')// - xform/([a-z>])ao(?=^|$|')/$1/ - xform/ui(?=^|$|')// - xform/in(?=^|$|')// - xform/'|<|>// algebra_mspy: - derive/^([jqxy])u(?=^|$|')/$1v/ - derive/'([jqxy])u(?=^|$|')/'$1v/ - derive/^([aoe].*)(?=^|$|')/o$1/ - derive/'([aoe].*)(?=^|$|')/'o$1/ - xform/^([ae])(.*)(?=^|$|')/$1$1$2/ - xform/'([ae])(.*)(?=^|$|')/'$1$1$2/ - xform/iu(?=^|$|')// - xform/[iu]a(?=^|$|')// - xform/er(?=^|$|')|[uv]an(?=^|$|')// - xform/[uv]e(?=^|$|')// - xform/v(?=^|$|')|uai(?=^|$|')// - xform/^sh// - xform/^ch// - xform/^zh// - xform/'sh/'/ - xform/'ch/'/ - xform/'zh/'/ - xform/uo(?=^|$|')// - xform/[uv]n(?=^|$|')/

/ - xform/([a-z>])i?ong(?=^|$|')/$1/ - xform/[iu]ang(?=^|$|')// - xform/([a-z>])en(?=^|$|')/$1/ - xform/([a-z>])eng(?=^|$|')/$1/ - xform/([a-z>])ang(?=^|$|')/$1/ - xform/ian(?=^|$|')// - xform/([a-z>])an(?=^|$|')/$1/ - xform/iao(?=^|$|')// - xform/([a-z>])ao(?=^|$|')/$1/ - xform/([a-z>])ai(?=^|$|')/$1/ - xform/([a-z>])ei(?=^|$|')/$1/ - xform/ie(?=^|$|')// - xform/ui(?=^|$|')// - derive/(?=^|$|')// - xform/([a-z>])ou(?=^|$|')/$1/ - xform/in(?=^|$|')// - xform/ing(?=^|$|')/;/ - xform/'|<|>// algebra_sogou: - derive/^([jqxy])u(?=^|$|')/$1v/ - derive/'([jqxy])u(?=^|$|')/'$1v/ - derive/^([aoe].*)(?=^|$|')/o$1/ - derive/'([aoe].*)(?=^|$|')/'o$1/ - xform/^([ae])(.*)(?=^|$|')/$1$1$2/ - xform/'([ae])(.*)(?=^|$|')/'$1$1$2/ - xform/iu(?=^|$|')// - xform/[iu]a(?=^|$|')// - xform/er(?=^|$|')|[uv]an(?=^|$|')// - xform/[uv]e(?=^|$|')// - xform/v(?=^|$|')|uai(?=^|$|')// - xform/^sh// - xform/^ch// - xform/^zh// - xform/'sh/'/ - xform/'ch/'/ - xform/'zh/'/ - xform/uo(?=^|$|')// - xform/[uv]n(?=^|$|')/

/ - xform/([a-z>])i?ong(?=^|$|')/$1/ - xform/[iu]ang(?=^|$|')// - xform/([a-z>])en(?=^|$|')/$1/ - xform/([a-z>])eng(?=^|$|')/$1/ - xform/([a-z>])ang(?=^|$|')/$1/ - xform/ian(?=^|$|')// - xform/([a-z>])an(?=^|$|')/$1/ - xform/iao(?=^|$|')// - xform/([a-z>])ao(?=^|$|')/$1/ - xform/([a-z>])ai(?=^|$|')/$1/ - xform/([a-z>])ei(?=^|$|')/$1/ - xform/ie(?=^|$|')// - xform/ui(?=^|$|')// - xform/([a-z>])ou(?=^|$|')/$1/ - xform/in(?=^|$|')// - xform/ing(?=^|$|')/;/ - xform/'|<|>// algebra_abc: - xform/^zh// - xform/^ch// - xform/^sh// - xform/'zh/'/ - xform/'ch/'/ - xform/'sh/'/ - xform/^([aoe].*)(?=^|$|')/$1/ - xform/'([aoe].*)(?=^|$|')/'$1/ - xform/ei(?=^|$|')// - xform/ian(?=^|$|')// - xform/er(?=^|$|')|iu(?=^|$|')// - xform/[iu]ang(?=^|$|')// - xform/ing(?=^|$|')// - xform/uo(?=^|$|')// - xform/uan(?=^|$|')/

/ - xform/([a-z>])i?ong(?=^|$|')/$1/ - xform/[iu]a(?=^|$|')// - xform/en(?=^|$|')// - xform/eng(?=^|$|')// - xform/ang(?=^|$|')// - xform/an(?=^|$|')// - xform/iao(?=^|$|')// - xform/ao(?=^|$|')// - xform/in(?=^|$|')|uai(?=^|$|')// - xform/ai(?=^|$|')// - xform/ie(?=^|$|')// - xform/ou(?=^|$|')// - xform/un(?=^|$|')// - xform/[uv]e(?=^|$|')|ui(?=^|$|')// - xform/'|<|>// algebra_ziguang: - derive/^([jqxy])u(?=^|$|')/$1v/ - derive/'([jqxy])u(?=^|$|')/'$1v/ - xform/'([aoe].*)(?=^|$|')/'$1/ - xform/^([aoe].*)(?=^|$|')/$1/ - xform/en(?=^|$|')// - xform/eng(?=^|$|')// - xform/in(?=^|$|')|uai(?=^|$|')// - xform/^zh// - xform/^sh// - xform/'zh/'/ - xform/'sh/'/ - xform/uo(?=^|$|')// - xform/ai(?=^|$|')/

/ - xform/^ch// - xform/'ch/'/ - xform/[iu]ang(?=^|$|')// - xform/ang(?=^|$|')// - xform/ie(?=^|$|')// - xform/ian(?=^|$|')// - xform/([a-z>])i?ong(?=^|$|')/$1/ - xform/er(?=^|$|')|iu(?=^|$|')// - xform/ei(?=^|$|')// - xform/uan(?=^|$|')// - xform/ing(?=^|$|')/;/ - xform/ou(?=^|$|')// - xform/[iu]a(?=^|$|')// - xform/iao(?=^|$|')// - xform/ue(?=^|$|')|ui(?=^|$|')|ve(?=^|$|')// - xform/un(?=^|$|')// - xform/ao(?=^|$|')// - xform/an(?=^|$|')// - xform/'|<|>//