Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where can I find the documentation on the key "speller/initials"? #1607

Open
rodrigomorales1 opened this issue Jun 27, 2024 · 1 comment
Open

Comments

@rodrigomorales1
Copy link

rodrigomorales1 commented Jun 27, 2024

I'm not a Chinese native speaker, but I'm learning Chinese and I like using RIME.

I want to create my own custom schema, so I'm looking at some schemas that the community have created so that I can better understand how RIME schemas are created.

I have noticed that many schemas define the key initials. In bopomofo.schema.yaml,initials is set as shown below (link):

(...omitted lines...)
speller:
  alphabet: '1qaz2wsxedcrfv5tgbyhnujm8ik,9ol.0p;/- 6347'
  initials: '1qaz2wsxedcrfv5tgbyhnujm8ik,9ol.0p;/-'
  finals: " 6347"
  delimiter: "'"
(...omitted lines...)

In double_pinyin_mspy.schema.yaml , initials is set as shown below (link):

(...omitted lines...)
speller:
  alphabet: zyxwvutsrqponmlkjihgfedcba;
  initials: zyxwvutsrqponmlkjihgfedcba
  delimiter: " '"
  algebra:
(...omitted lines...)

So, my question is: Where can I find the documentation on the key "initials"?

I know of the existence of https://github.com/rime/home/wiki/RimeWithSchemata , but that page doesn't contain documentation on the key initials.

@rodrigomorales1 rodrigomorales1 changed the title Where can I find the documentation on "initials"? Where can I find the documentation on the key "speller/initials"? Jun 27, 2024
@LEOYoon-Tsaw
Copy link
Member

LEOYoon-Tsaw commented Jun 27, 2024

Initials means the letters that a code can start with. For example, if alphabet is "abc", and initials only include "ab", then bac is valid code while cab is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants