添加了tool文件夹,实现了一些简单功能和第一个api #1
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
用了插件进行了简体的翻译,如果不行可以再翻译回去;
当前遇到的问题:
1 连击模式的字幕似乎不能正常显示,不清楚原因,正在测试中;
2 并击模式的按键顺序似乎有问题,不清楚原因,正在测试中;
3 使用了官方小鹤的正则表达式,但是似乎并不能正确将练习题的编码转换成输入的键位,只能显示首字母
输入编码转换成练习题功能除了顺序不对还是比较正常的,正在研究。
当前正在进行的任务(尚未提交):
1 编写/dict/prism.rs文件,测试词库到棱镜的转换,
测试哈希排序、词库编码转换为输入编码、输入编码转换为词库编码三个功能,
试图实现简单的连击功能和打字功能(控制台版本),待连击和并击两个功能修复好后进行合并;
(rime1的棱镜文件是不做任何处理的哈希排序结果吗)
2 编写测试文件,试图将核心与界面逐渐分离;
3 现在的tool有依赖的问题,测试了好几种写法,最后选择只把tool当成仓库,直接调用需要的子文件夹,
虽然不能在引用中体现出功能来自tool文件夹,但是已经能凑活着用了。