From ddf61d3feb235818cdd97cfa93d539777aaa2cc0 Mon Sep 17 00:00:00 2001 From: Dvel Date: Mon, 7 Aug 2023 21:56:46 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=8F=8C=E6=8B=BC=E7=9A=84?= =?UTF-8?q?=E8=BD=AC=E5=86=99=E5=AD=97=E7=AC=A6=E6=94=B9=E4=B8=BA=E6=9B=B4?= =?UTF-8?q?=E6=98=93=E8=AF=86=E5=88=AB=E7=9A=84=E5=AD=97=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- double_pinyin.schema.yaml | 52 ++++++++++++++--------------- double_pinyin_abc.schema.yaml | 52 ++++++++++++++--------------- double_pinyin_flypy.schema.yaml | 52 ++++++++++++++--------------- double_pinyin_mspy.schema.yaml | 54 +++++++++++++++---------------- double_pinyin_ziguang.schema.yaml | 50 ++++++++++++++-------------- 5 files changed, 130 insertions(+), 130 deletions(-) diff --git a/double_pinyin.schema.yaml b/double_pinyin.schema.yaml index ec33a82..8a07140 100644 --- a/double_pinyin.schema.yaml +++ b/double_pinyin.schema.yaml @@ -235,30 +235,30 @@ speller: - derive/^([jqxy])u$/$1v/ - derive/^([aoe])([ioun])$/$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/uo$/ᴏ/ - - xform/[uv]n$/ᴘ/ - - xform/i?ong$/s/ - - xform/[iu]ang$/ᴅ/ - - xform/(.)en$/$1ғ/ - - xform/(.)eng$/$1ɢ/ - - xform/(.)ang$/$1ʜ/ - - xform/ian$/ᴍ/ - - xform/(.)an$/$1ᴊ/ - - xform/iao$/ᴄ/ - - xform/(.)ao$/$1ᴋ/ - - xform/(.)ai$/$1ʟ/ - - xform/(.)ei$/$1ᴢ/ - - xform/ie$/x/ - - xform/ui$/ᴠ/ - - xform/(.)ou$/$1ʙ/ - - xform/in$/ɴ/ - - xlit/ǫᴡʀᴛʏᴜɪᴏᴘsᴅғɢʜᴍᴊᴄᴋʟᴢxᴠʙɴ/qwrtyuiopsdfghmjcklzxvbn/ + - xform/iu$/Ⓠ/ + - xform/[iu]a$/Ⓦ/ + - xform/[uv]an$/Ⓡ/ + - xform/[uv]e$/Ⓣ/ + - xform/ing$|uai$/Ⓨ/ + - xform/^sh/Ⓤ/ + - xform/^ch/Ⓘ/ + - xform/^zh/Ⓥ/ + - xform/uo$/Ⓞ/ + - xform/[uv]n$/Ⓟ/ + - xform/i?ong$/Ⓢ/ + - xform/[iu]ang$/Ⓓ/ + - xform/(.)en$/$1Ⓕ/ + - xform/(.)eng$/$1Ⓖ/ + - xform/(.)ang$/$1Ⓗ/ + - xform/ian$/Ⓜ/ + - xform/(.)an$/$1Ⓙ/ + - xform/iao$/Ⓒ/ + - xform/(.)ao$/$1Ⓚ/ + - xform/(.)ai$/$1Ⓛ/ + - xform/(.)ei$/$1Ⓩ/ + - xform/ie$/Ⓧ/ + - xform/ui$/Ⓥ/ + - xform/(.)ou$/$1Ⓑ/ + - xform/in$/Ⓝ/ + - xlit/ⓆⓌⓇⓉⓎⓊⒾⓄⓅⓈⒹⒻⒼⒽⓂⒿⒸⓀⓁⓏⓍⓋⒷⓃ/qwrtyuiopsdfghmjcklzxvbn/ - abbrev/^(.).+$/$1/ # 首字母简拼 diff --git a/double_pinyin_abc.schema.yaml b/double_pinyin_abc.schema.yaml index 48acc6d..fdb41e3 100644 --- a/double_pinyin_abc.schema.yaml +++ b/double_pinyin_abc.schema.yaml @@ -234,30 +234,30 @@ speller: delimiter: " '" # 第一位<空格>是拼音之间的分隔符;第二位<'>表示可以手动输入单引号来分割拼音。 algebra: - erase/^xx$/ - - xform/^zh/ᴀ/ - - xform/^ch/ᴇ/ - - xform/^sh/ᴠ/ - - xform/^([aoe].*)$/ᴏ$1/ - - xform/ei$/ǫ/ - - xform/ian$/ᴡ/ - - xform/er$|iu$/ʀ/ - - xform/[iu]ang$/ᴛ/ - - xform/ing$/ʏ/ - - xform/uo$/ᴏ/ - - xform/uan$/ᴘ/ - - xform/i?ong$/s/ - - xform/[iu]a$/ᴅ/ - - xform/en$/ғ/ - - xform/eng$/ɢ/ - - xform/ang$/ʜ/ - - xform/an$/ᴊ/ - - xform/iao$/ᴢ/ - - xform/ao$/ᴋ/ - - xform/in$|uai$/ᴄ/ - - xform/ai$/ʟ/ - - xform/ie$/x/ - - xform/ou$/ʙ/ - - xform/un$/ɴ/ - - xform/[uv]e$|ui$/ᴍ/ - - xlit/ǫᴡᴇʀᴛʏᴏᴘᴀsᴅғɢʜᴊᴋʟᴢxᴄᴠʙɴᴍ/qwertyopasdfghjklzxcvbnm/ + - xform/^zh/Ⓐ/ + - xform/^ch/Ⓔ/ + - xform/^sh/Ⓥ/ + - xform/^([aoe].*)$/Ⓞ$1/ + - xform/ei$/Ⓠ/ + - xform/ian$/Ⓦ/ + - xform/er$|iu$/Ⓡ/ + - xform/[iu]ang$/Ⓣ/ + - xform/ing$/Ⓨ/ + - xform/uo$/Ⓞ/ + - xform/uan$/Ⓟ/ + - xform/i?ong$/Ⓢ/ + - 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$/Ⓜ/ + - xlit/ⓆⓌⒺⓇⓉⓎⓄⓅⒶⓈⒹⒻⒼⒽⒿⓀⓁⓏⓍⒸⓋⒷⓃⓂ/qwertyopasdfghjklzxcvbnm/ - abbrev/^(.).+$/$1/ # 首字母简拼 diff --git a/double_pinyin_flypy.schema.yaml b/double_pinyin_flypy.schema.yaml index cd0ff86..1c9a13a 100644 --- a/double_pinyin_flypy.schema.yaml +++ b/double_pinyin_flypy.schema.yaml @@ -235,31 +235,31 @@ speller: - derive/^([jqxy])u$/$1v/ - derive/^([aoe])([ioun])$/$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/uo$/ᴏ/ - - xform/ie$/ᴘ/ - - xform/i?ong$/s/ - - xform/ing$|uai$/ᴋ/ - - xform/(.)ai$/$1ᴅ/ - - xform/(.)en$/$1ғ/ - - xform/(.)eng$/$1ɢ/ - - xform/[iu]ang$/ʟ/ - - xform/(.)ang$/$1ʜ/ - - xform/ian$/ᴍ/ - - xform/(.)an$/$1ᴊ/ - - xform/(.)ou$/$1ᴢ/ - - xform/[iu]a$/x/ - - xform/iao$/ɴ/ - - xform/(.)ao$/$1ᴄ/ - - xform/ui$/ᴠ/ - - xform/in$/ʙ/ - - xlit/ǫᴡʀᴛʏᴜɪᴏᴘsᴅғɢʜᴊᴋʟᴢxᴄᴠʙɴᴍ/qwrtyuiopsdfghjklzxcvbnm/ + - xform/iu$/Ⓠ/ + - xform/(.)ei$/$1Ⓦ/ + - xform/uan$/Ⓡ/ + - xform/[uv]e$/Ⓣ/ + - xform/un$/Ⓨ/ + - xform/^sh/Ⓤ/ + - xform/^ch/Ⓘ/ + - xform/^zh/Ⓥ/ + - xform/uo$/Ⓞ/ + - xform/ie$/Ⓟ/ + - xform/i?ong$/Ⓢ/ + - xform/ing$|uai$/Ⓚ/ + - xform/(.)ai$/$1Ⓓ/ + - xform/(.)en$/$1Ⓕ/ + - xform/(.)eng$/$1Ⓖ/ + - xform/[iu]ang$/Ⓛ/ + - xform/(.)ang$/$1Ⓗ/ + - xform/ian$/Ⓜ/ + - xform/(.)an$/$1Ⓙ/ + - xform/(.)ou$/$1Ⓩ/ + - xform/[iu]a$/Ⓧ/ + - xform/iao$/Ⓝ/ + - xform/(.)ao$/$1Ⓒ/ + - xform/ui$/Ⓥ/ + - xform/in$/Ⓑ/ + - xlit/ⓆⓌⓇⓉⓎⓊⒾⓄⓅⓈⒹⒻⒼⒽⒿⓀⓁⓏⓍⒸⓋⒷⓃⓂ/qwrtyuiopsdfghjklzxcvbnm/ - abbrev/^(.).+$/$1/ # 首字母简拼 \ No newline at end of file diff --git a/double_pinyin_mspy.schema.yaml b/double_pinyin_mspy.schema.yaml index 930be8b..76a2826 100644 --- a/double_pinyin_mspy.schema.yaml +++ b/double_pinyin_mspy.schema.yaml @@ -239,32 +239,32 @@ speller: - derive/^([jqxy])u$/$1v/ - derive/^([aoe].*)$/o$1/ - 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/uo$/ᴏ/ - - xform/[uv]n$/ᴘ/ - - xform/i?ong$/s/ - - xform/[iu]ang$/ᴅ/ - - xform/(.)en$/$1ғ/ - - xform/(.)eng$/$1ɢ/ - - xform/(.)ang$/$1ʜ/ - - xform/ian$/ᴍ/ - - xform/(.)an$/$1ᴊ/ - - xform/iao$/ᴄ/ - - xform/(.)ao$/$1ᴋ/ - - xform/(.)ai$/$1ʟ/ - - xform/(.)ei$/$1ᴢ/ - - xform/ie$/x/ - - xform/ui$/ᴠ/ - - derive/T$/ᴠ/ - - xform/(.)ou$/$1ʙ/ - - xform/in$/ɴ/ + - xform/iu$/Ⓠ/ + - xform/[iu]a$/Ⓦ/ + - xform/er$|[uv]an$/Ⓡ/ + - xform/[uv]e$/Ⓣ/ + - xform/v$|uai$/Ⓨ/ + - xform/^sh/Ⓤ/ + - xform/^ch/Ⓘ/ + - xform/^zh/Ⓥ/ + - xform/uo$/Ⓞ/ + - xform/[uv]n$/Ⓟ/ + - xform/i?ong$/Ⓢ/ + - xform/[iu]ang$/Ⓓ/ + - xform/(.)en$/$1Ⓕ/ + - xform/(.)eng$/$1Ⓖ/ + - xform/(.)ang$/$1Ⓗ/ + - xform/ian$/Ⓜ/ + - xform/(.)an$/$1Ⓙ/ + - xform/iao$/Ⓒ/ + - xform/(.)ao$/$1Ⓚ/ + - xform/(.)ai$/$1Ⓛ/ + - xform/(.)ei$/$1Ⓩ/ + - xform/ie$/Ⓧ/ + - xform/ui$/Ⓥ/ + - derive/T$/Ⓥ/ + - xform/(.)ou$/$1Ⓑ/ + - xform/in$/Ⓝ/ - xform/ing$/;/ - - xlit/ǫᴡʀᴛʏᴜɪᴏᴘsᴅғɢʜᴍᴊᴄᴋʟᴢxᴠʙɴ/qwrtyuiopsdfghmjcklzxvbn/ + - xlit/ⓆⓌⓇⓉⓎⓊⒾⓄⓅⓈⒹⒻⒼⒽⓂⒿⒸⓀⓁⓏⓍⓋⒷⓃ/qwrtyuiopsdfghmjcklzxvbn/ - abbrev/^(.).+$/$1/ # 首字母简拼 diff --git a/double_pinyin_ziguang.schema.yaml b/double_pinyin_ziguang.schema.yaml index 53cc243..e3e1f91 100644 --- a/double_pinyin_ziguang.schema.yaml +++ b/double_pinyin_ziguang.schema.yaml @@ -235,30 +235,30 @@ speller: algebra: - erase/^xx$/ - derive/^([jqxy])u$/$1v/ - - xform/^([aoe].*)$/ᴏ$1/ # 添上固定的零聲母o,先標記爲大寫O - - xform/en$/ᴡ/ - - xform/eng$/ᴛ/ - - xform/in$|uai$/ʏ/ - - xform/^zh/ᴜ/ - - xform/^sh/ɪ/ - - xform/uo$/ᴏ/ - - xform/ai$/ᴘ/ - - xform/^ch/ᴀ/ - - xform/[iu]ang$/ɢ/ - - xform/ang$/s/ # ang should be placed after iang/uang - - xform/ie$/ᴅ/ - - xform/ian$/ғ/ - - xform/i?ong$/ʜ/ - - xform/er$|iu$/ᴊ/ - - xform/ei$/ᴋ/ - - xform/uan$/ʟ/ + - xform/^([aoe].*)$/Ⓞ$1/ # 添上固定的零聲母o,先標記爲大寫O + - xform/en$/Ⓦ/ + - xform/eng$/Ⓣ/ + - xform/in$|uai$/Ⓨ/ + - xform/^zh/Ⓤ/ + - xform/^sh/Ⓘ/ + - xform/uo$/Ⓞ/ + - xform/ai$/Ⓟ/ + - xform/^ch/Ⓐ/ + - xform/[iu]ang$/Ⓖ/ + - xform/ang$/Ⓢ/ # ang should be placed after iang/uang + - xform/ie$/Ⓓ/ + - xform/ian$/Ⓕ/ + - xform/i?ong$/Ⓗ/ + - xform/er$|iu$/Ⓙ/ + - xform/ei$/Ⓚ/ + - xform/uan$/Ⓛ/ - xform/ing$/;/ - - xform/ou$/ᴢ/ - - xform/[iu]a$/x/ - - xform/iao$/ʙ/ - - xform/ue$|ui$|ve$/ɴ/ - - xform/un$/ᴍ/ - - xform/ao$/ǫ/ # ao should be placed after iao - - xform/an$/ʀ/ # an should be placed after uan/ian - - xlit/ᴡᴛʏᴜɪᴏᴘᴀɢsᴅғʜᴊᴋʟᴢxʙɴᴍǫʀ/wtyuiopagsdfhjklzxbnmqr/ + - xform/ou$/Ⓩ/ + - xform/[iu]a$/Ⓧ/ + - xform/iao$/Ⓑ/ + - xform/ue$|ui$|ve$/Ⓝ/ + - xform/un$/Ⓜ/ + - xform/ao$/Ⓠ/ # ao should be placed after iao + - xform/an$/Ⓡ/ # an should be placed after uan/ian + - xlit/ⓌⓉⓎⓊⒾⓄⓅⒶⒼⓈⒹⒻⒽⒿⓀⓁⓏⓍⒷⓃⓂⓆⓇ/wtyuiopagsdfhjklzxbnmqr/ - abbrev/^(.).+$/$1/ # 首字母简拼