diff --git a/moran.schema.yaml b/moran.schema.yaml index 841e02d..cf15247 100644 --- a/moran.schema.yaml +++ b/moran.schema.yaml @@ -90,10 +90,10 @@ speller: alphabet: abcdefghijklmnopqrstuvwxyz delimiter: " '" algebra: - - derive/^(\w+);(\w)(\w)$/$1$2$3o/ # 全碼 YYXXo - - abbrev/^(\w+);(\w)(\w)$/$1$2$3/ # 降低 YYXX 優先級 - - derive/^(\w+);(\w)(\w)$/$1$2/ # 構詞可以用 YYX - - derive/^(\w+);(\w)(\w)$/$1/ # 構詞可以用 YY + - derive/^(.+);(\w)(\w)$/$1$2$3o/ # 全碼 YYXXo + - abbrev/^(.+);(\w)(\w)$/$1$2$3/ # 降低 YYXX 優先級 + - derive/^(.+);(\w)(\w)$/$1$2/ # 構詞可以用 YYX + - derive/^(.+);(\w)(\w)$/$1/ # 構詞可以用 YY #- abbrev/^([a-z]).+$/$1/ # 首字母簡拼(※ 嚴重影響出字速度,不建議開啓) ascii_composer: diff --git a/moran_aux.schema.yaml b/moran_aux.schema.yaml index 9f04997..f4a8239 100644 --- a/moran_aux.schema.yaml +++ b/moran_aux.schema.yaml @@ -79,7 +79,7 @@ speller: alphabet: abcdefghijklmnopqrstuvwxyz delimiter: " '" algebra: - - derive/^(\w*);(\w)(\w)$/$1/ # 構詞可以用 YY + - derive/^(.*);(\w)(\w)$/$1/ # 構詞可以用 YY ascii_composer: switch_key: diff --git a/moran_reverse.schema.yaml b/moran_reverse.schema.yaml index 1b31a3f..9ff4715 100644 --- a/moran_reverse.schema.yaml +++ b/moran_reverse.schema.yaml @@ -26,11 +26,11 @@ translator: speller: alphabet: abcdefghijklmnopqrstuvwxyz algebra: - - derive/^(\w)(\w);(\w)(\w)$/\1\2\3\4/ - - derive/^(\w)(\w);(\w)(\w)$/\1\2`/ - - derive/^(\w)(\w);(\w)(\w)$/\1\2``/ - - derive/^(\w)(\w);(\w)(\w)$/\1\2\3`/ - - derive/^(\w)(\w);(\w)(\w)$/\1\2`\4/ - - derive/^(\w)(\w);(\w)(\w)$/``\3\4/ - - derive/^(\w)(\w);(\w)(\w)$/``\3/ - - derive/^(\w)(\w);(\w)(\w)$/```\4/ + - derive/^(.)(.);(\w)(\w)$/\1\2\3\4/ + - derive/^(.)(.);(\w)(\w)$/\1\2`/ + - derive/^(.)(.);(\w)(\w)$/\1\2``/ + - derive/^(.)(.);(\w)(\w)$/\1\2\3`/ + - derive/^(.)(.);(\w)(\w)$/\1\2`\4/ + - derive/^(.)(.);(\w)(\w)$/``\3\4/ + - derive/^(.)(.);(\w)(\w)$/``\3/ + - derive/^(.)(.);(\w)(\w)$/```\4/ diff --git a/moran_sentence.schema.yaml b/moran_sentence.schema.yaml index 9758acc..ba31ce8 100644 --- a/moran_sentence.schema.yaml +++ b/moran_sentence.schema.yaml @@ -79,10 +79,10 @@ speller: alphabet: abcdefghijklmnopqrstuvwxyz delimiter: " '" algebra: - - derive/^(\w*);(\w)(\w)$/$1$2$3o/ # 全碼 YYXXo - - abbrev/^(\w*);(\w)(\w)$/$1$2$3/ # 全碼 YYXX,優先級更低 - - derive/^(\w*);(\w)(\w)$/$1$2/ # 構詞可以用 YYX - - derive/^(\w*);(\w)(\w)$/$1/ # 構詞可以用 YY + - derive/^(.*);(\w)(\w)$/$1$2$3o/ # 全碼 YYXXo + - abbrev/^(.*);(\w)(\w)$/$1$2$3/ # 全碼 YYXX,優先級更低 + - derive/^(.*);(\w)(\w)$/$1$2/ # 構詞可以用 YYX + - derive/^(.*);(\w)(\w)$/$1/ # 構詞可以用 YY #- abbrev/^([a-z]).+$/$1/ # 首字母簡拼(※ 嚴重影響出字速度,在簡詞完善後可能關閉) ascii_composer: