Skip to content

Commit

Permalink
feat: 英語混輸支持大寫
Browse files Browse the repository at this point in the history
  • Loading branch information
ksqsf committed Oct 19, 2024
1 parent 649223c commit 289c354
Show file tree
Hide file tree
Showing 6 changed files with 10,261 additions and 10,224 deletions.
9 changes: 6 additions & 3 deletions moran.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema:
schema_id: moran
name: 魔然
version: "20240926"
version: "20241019"
author:
- 自然碼發明人:周志農
- 方案製作:ksqsf
Expand Down Expand Up @@ -103,7 +103,7 @@ engine:
- uniquifier

speller:
alphabet: abcdefghijklmnopqrstuvwxyz/;
alphabet: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/;
delimiter: " '"
auto_select: true
auto_select_pattern: ^;(\w+|;)
Expand Down Expand Up @@ -144,6 +144,7 @@ custom_phrase: # 自定義短語

english:
dictionary: moran_english
prism: moran_english
enable_completion: true
enable_sentence: false
enable_user_dict: true
Expand Down Expand Up @@ -299,10 +300,12 @@ key_binder:
bindings:
__patch:
- :/key_binder/custom_bindings?
- moran:/key_bindings/moran_capital_for_last_syllable
- moran:/key_bindings/moran_tab
- moran:/key_bindings/moran_switches
- moran:/key_bindings/moran_keypad
# 大寫字母追加輔助碼到上一音節
# 該功能可使用 Shift-tab 替代
# - moran:/key_bindings/moran_capital_for_last_syllable

recognizer:
import_preset: default
Expand Down
4 changes: 2 additions & 2 deletions moran_aux.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema:
schema_id: moran_aux
name: 魔然·輔篩
version: "20240926"
version: "20241019"
author:
- 自然碼發明人:周志農
- 方案製作:ksqsf
Expand Down Expand Up @@ -74,7 +74,7 @@ engine:
- uniquifier

speller:
alphabet: abcdefghijklmnopqrstuvwxyz
alphabet: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
delimiter: " '"
aux_algebra:
__append:
Expand Down
29 changes: 29 additions & 0 deletions moran_defs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,32 @@ fly:
xq_xo:
__append:
- derive/xq;/xo;/

casefold:
__append:
- derive/A/a/
- derive/B/b/
- derive/C/c/
- derive/D/d/
- derive/E/e/
- derive/F/f/
- derive/G/g/
- derive/H/h/
- derive/I/i/
- derive/J/j/
- derive/K/k/
- derive/L/l/
- derive/M/m/
- derive/N/n/
- derive/O/o/
- derive/P/p/
- derive/Q/q/
- derive/R/r/
- derive/S/s/
- derive/T/t/
- derive/U/u/
- derive/V/v/
- derive/W/w/
- derive/X/x/
- derive/Y/y/
- derive/Z/z/
Loading

0 comments on commit 289c354

Please sign in to comment.