Skip to content

如何在輸入的界面顯示其他拼音方案 #1388

Answered by russell-liu
Photon-gjq asked this question in Q&A
Discussion options

You must be logged in to vote

時隔一年,我再嘗試研究此問題(默認反查),算是把解決方法看懂了。先在此提供我寫出的你需求的"朙月拼音學粵語拼音"和"朙月拼音學中古全拼"兩種方案配置:

luna_pinyin_learn_jyut6ping3.schema.yaml

# Rime schema
# encoding: utf-8

__include: jyut6ping3.schema:/

schema:
  schema_id: luna_pinyin_learn_jyut6ping3
  name: 朙月拼音學粵語拼音
  version: "2024.11.07"

__patch:
  luna_pinyin/prefix:
  luna_pinyin/suffix:
  recognizer/patterns/luna_pinyin: "^[a-z']*$"
  recognizer/patterns/loengfan:
  recognizer/patterns/stroke:
  recognizer/patterns/cangjie5:
  engine/segmentors/@6: # abc_segmentor

luna_pinyin_learn_zyenpheng.schema.yaml

# Rime schema
# encoding: utf-8

__include: zyenpheng.schema:/

schema:
  schema_id: luna_pinyin_learn_zyenpheng
  name: 朙月拼音學中古全拼
  version: "2024.…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Photon-gjq
Comment options

@russell-liu
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Photon-gjq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants