Last active
March 19, 2021 00:47
Rime 排序疑似 bug 的例子
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime dictionary | |
# encoding: utf-8 | |
# | |
# 展示候选字排序疑似 bug 的例子 | |
# 选取了读 tai 的字,给每个字拼音后面加上了辅助码(有的字有多种可能的辅助码) | |
# 现在输入 tai,候选字排序正常,但只要把“台”字的辅助码改一下,比如改成 sx,排序就变了,会有一个奇怪的生僻字出现在第一页 | |
--- | |
name: strange | |
version: "20210319" | |
sort: by_weight | |
use_preset_vocabulary: true | |
... | |
# | |
㑷 tai:zn | |
㒗 tai:hs | |
㘆 tai:hh | |
㙵 tai:hn | |
㣍 tai:sz | |
㥭 tai:sh | |
㬃 tai:hh | |
㷘 tai:pn | |
㸀 tai:pn | |
䈚 tai:np | |
䑓 tai:sh | |
䔶 tai:sh | |
亣 tai:ps | |
儓 tai:hs | |
冭 tai:nn | |
台 tai:sz | |
呔 tai:hh | |
呞 tai:hz | |
囼 tai:zp | |
坮 tai:hz | |
太 tai:nn | |
夳 tai:nh | |
奤 tai:nh | |
嬯 tai:hh | |
孡 tai:hz | |
忕 tai:sh | |
忲 tai:sh | |
态 tai:nn | |
態 tai:nn | |
抬 tai:hz | |
擡 tai:hz | |
斄 tai:sp | |
旲 tai:hh | |
曃 tai:hh | |
枱 tai:pn | |
檯 tai:sz | |
殆 tai:zn | |
汰 tai:hh | |
泰 tai:hp | |
溙 tai:hh | |
炱 tai:sz | |
炲 tai:pn | |
燤 tai:pn | |
秮 tai:sp | |
笞 tai:np | |
籉 tai:np | |
肽 tai:hh | |
胎 tai:hh | |
臺 tai:sz | |
舦 tai:zn | |
苔 tai:sz | |
菭 tai:sn | |
薹 tai:sz | |
跆 tai:hs | |
邰 tai:sz | |
酞 tai:zp | |
釱 tai:hh | |
鈦 tai:hh | |
鈶 tai:hh | |
鉪 tai:hh | |
钛 tai:hh | |
颱 tai:sz | |
駘 tai:hz | |
骀 tai:hz | |
鮐 tai:sz | |
鲐 tai:sz | |
齝 tai:sh | |
𡇷 tai:sz | |
𡒢 tai:hs | |
𢖤 tai:ss | |
𣣿 tai:hn | |
𤗿 tai:hz | |
𥙉 tai:sn | |
𦒰 tai:hp | |
𦻀 tai:hs | |
𧉑 tai:hs | |
𧉟 tai:hs | |
𧭏 tai:hh | |
𧮼 tai:pn | |
𩬠 tai:hh | |
𩿡 tai:zh | |
𪐝 tai:np | |
𪐥 tai:np | |
𪒴 tai:np | |
粏 tai:hs | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime schema | |
# encoding: utf-8 | |
schema: | |
schema_id: strange | |
name: 全拼+辅助码的例子 | |
version: "20210319" | |
author: | |
- Betty | |
description: | | |
展示候选字排序疑似 bug 的例子 | |
dependencies: | |
- stroke | |
switches: | |
- name: ascii_mode | |
reset: 0 | |
states: [ 中文, 西文 ] | |
- name: full_shape | |
states: [ 半角, 全角 ] | |
- name: simplification | |
reset: 1 | |
states: [ 漢字, 汉字 ] | |
- name: ascii_punct | |
states: [ 。,, ., ] | |
engine: | |
processors: | |
- ascii_composer | |
- recognizer | |
- key_binder | |
- speller | |
- punctuator | |
- selector | |
- navigator | |
- express_editor | |
segmentors: | |
- ascii_segmentor | |
- matcher | |
- abc_segmentor | |
- punct_segmentor | |
- fallback_segmentor | |
translators: | |
- punct_translator | |
- reverse_lookup_translator | |
- script_translator | |
filters: | |
- simplifier | |
- uniquifier | |
speller: | |
alphabet: "abcdefghijklmnopqrstuvwxyz" | |
initials: "abcdefghijklmnopqrstuvwxyz" | |
delimiter: " '" | |
algebra: | |
- derive/^(..).*$/$1/ | |
- derive/^(...).*$/$1/ | |
- derive/^(....).*$/$1/ | |
- derive/^(.....).*$/$1/ | |
translator: | |
dictionary: strange | |
reverse_lookup: | |
dictionary: stroke | |
enable_completion: true | |
prefix: "`" | |
suffix: "'" | |
tips: 〔筆畫〕 | |
preedit_format: | |
- xlit/hspnz/一丨丿丶乙/ | |
comment_format: | |
- xform/([nl])v/$1ü/ | |
punctuator: | |
import_preset: default | |
key_binder: | |
import_preset: default | |
recognizer: | |
import_preset: default | |
patterns: | |
reverse_lookup: "`[a-z]*'?$" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment