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

乱序优化似乎绑定了字母,换了键盘布局它也跟着变 #10

Open
ghost opened this issue Jan 21, 2024 · 17 comments
Open

乱序优化似乎绑定了字母,换了键盘布局它也跟着变 #10

ghost opened this issue Jan 21, 2024 · 17 comments

Comments

@ghost
Copy link

ghost commented Jan 21, 2024

乱序优化似乎绑定了QWERTY布局的字母,当我换了键盘布局它也跟着变,评分很低,没了参考价值。
希望根据键盘布局重新排布声母韵母。

@macroxue
Copy link
Owner

既然声母已经乱序,换键盘布局本身就没了意义呀。

@ghost
Copy link
Author

ghost commented Jan 23, 2024

在QWERTY布局统治环境,这么说也没错。
可至少还有Dvorak,还有其它更合理布局,如果都要手抄乱序排列,就有些麻烦了。
另外,我看优化得还不够彻底,总分还可以提高些。

@macroxue
Copy link
Owner

不太好办。其他方案都是跟着底层的英文键位,乱序要乱到什么程度才不跟呢?

@ghost
Copy link
Author

ghost commented Jan 25, 2024

以通行英文键位统计没问题,有几点浅见供参考:

1、先增加显示英文字母统计频率,“统计拼音频率” 改名 “统计频率”;

2、目前英文效率最高、连击最少的键盘布局如下:
http://mkweb.bcgsc.ca/carpalx/?full_optimization
qfmlwy : {
'q':[0,0], 'f':[1,0], 'm':[2,0], 'l':[3,0], 'w':[4,0],
'y':[5,0], 'u':[6,0], 'o':[7,0], 'b':[8,0], 'j':[9,0],
'd':[0,1], 's':[1,1], 't':[2,1], 'n':[3,1], 'r':[4,1],
'i':[5,1], 'a':[6,1], 'e':[7,1], 'h':[8,1], ';':[9,1],
'z':[0,2], 'v':[1,2], 'g':[2,2], 'c':[3,2], 'x':[4,2],
'p':[5,2], 'k':[6,2], ',':[7,2], '.':[8,2], '/':[9,2],
},

将下图频率键位作为基准,对位安排次序,无论双拼、形码或是英文都可参考,都能直接吸收优秀成果:
2024-01-25_181622
(样本是 新概念英语4 全册8.5万个字母)

@macroxue
Copy link
Owner

7fd3c1a 增加统计符号频率

英文权当符号处理了。这个双拼评测工具快变成“四不像”了。

@ghost
Copy link
Author

ghost commented Jan 27, 2024

辛苦了,非常感谢!!
为何加了“无理拼音”的新版,点击“评测当前方案”后没反应?完全没评分哦

@macroxue
Copy link
Owner

85030b9 无理拼音的想法还不成熟,暂时隐藏了。

@ghost
Copy link
Author

ghost commented Jan 29, 2024

隐藏了仍然无法评测,各种双拼方案都毫无反应。

@macroxue
Copy link
Owner

我没问题,你的平台和浏览器是什么?

@ghost
Copy link
Author

ghost commented Jan 31, 2024

Win81,Chrome95
旧版JS正常,这不是调用API,跟环境没关系吧

@macroxue
Copy link
Owner

macroxue commented Feb 4, 2024

甚是奇怪,在我的chrome和firefox上都可以正常地跑。

麻烦在有问题的时候按下F12调出console看看有没有报错。

@ghost
Copy link
Author

ghost commented Feb 6, 2024

重新下载原版master.zip,确实报错了:
2024-02-06_104015

@macroxue
Copy link
Owner

macroxue commented Feb 7, 2024

structuredClone 是2022年3月才增加的新函数,而chrome 95是 2021年的版本。我可以看一下是否有兼容性更好的函数,不过你的版本是有些老了。

@macroxue
Copy link
Owner

macroxue commented Feb 7, 2024

cd74b95 为兼容性而不用structuredClone

@ghost
Copy link
Author

ghost commented Feb 7, 2024

非常感谢!有字母的评分又高了很多?
我原先用过v109版,后来还是更喜欢高效的v95

@macroxue
Copy link
Owner

macroxue commented Feb 7, 2024

有字母的评分又高了很多?

的确如此。#9 把每个英文字母算作一个“字”,只要一击键即可输入,而每个中文字需要双拼二击键方可。如果文章夹杂越多英文,得分就越高。

@ghost
Copy link
Author

ghost commented Feb 8, 2024

原来如此~

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

1 participant