osfans / PRIME

Develop input methods for Windows easily with Python
Other
364 stars 23 forks source link

如何使用注音臺灣正體輸入簡體字 #19

Closed hchungi closed 6 years ago

hchungi commented 6 years ago

如題!請問如何使用注音臺灣正體輸入簡體字?

謝謝

osfans commented 6 years ago

bopomofo.schema.yaml的話,可以臨時用F4切換簡繁。要預設簡體的話,可以添加reset: 1

switches:
  - name: ascii_mode
    reset: 0
    states: [ 中文, 西文 ]
  - name: full_shape
    states: [ 半角, 全角 ]
  - name: simplification
    states: [ 漢字, 汉字 ]
    reset: 1
  - name: ascii_punct
    states: [ 。,, ., ]
hchungi commented 6 years ago

你好,我是使用 A注音臺灣正體 有可能用注音打出簡體字嗎? 我按下F4並沒有可以看到切換簡體字的選項 image

osfans commented 6 years ago

那應該是不行,你可以比較bopomofo.schema.yaml和bopomofo_tw.schema.yaml進行修改。 最簡單的是在bopomofo_tw.schema.yaml裏面添加 simplifier@simplication,然後用Ctrl+Shift+4切換。

  filters:
    - simplifier
    - simplifier@simplication

或者修改default.yaml,使用bopomofo代替bopomofo_tw。