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

可否增加手动中英混输的功能 #33

Closed
hicaicai opened this issue Aug 13, 2021 · 6 comments
Closed

可否增加手动中英混输的功能 #33

hicaicai opened this issue Aug 13, 2021 · 6 comments

Comments

@hicaicai
Copy link

hicaicai commented Aug 13, 2021

谢谢开发者提供这么方便的脚本,对于小白来讲太好用了,感谢,感谢.

不过我想问下有没有办法可以增加一个中英混输功能, 比如说我想输入macbook,
是否可以在英文单词前加上我们用不到的“V”键,或者其他键, (“V”键通常在简体拼音输入下首字母暂时用不到)
所以我们能不能输入 Vmacbook,这样自动上屏幕就是 macbook,
通过这种来实现中英混输的功能,来避免词典没有包括的词汇,也能避免想输入英文时有中文词汇干扰.
我自己也有想过通过增加表情的方式添加,但那样似乎很麻烦.
另外我好像不能自己添加词汇, 词典里没有 you 这个单词,我试着添加进去, 发现不起作用.

@hicaicai hicaicai changed the title 增加中英混输的功能 可否增加手动中英混输的功能 Aug 13, 2021
@ssnhd
Copy link
Owner

ssnhd commented Aug 13, 2021

  1. 支持中英混输,没有出现英文是因为 easy_en.dict.yaml 里缺少你所需要的词汇(可自行加入英文词汇),或是因为该词汇没有被使用过,从而排序在很后面,此时需要翻页多次找到。
  2. 快速输入常用词汇短语,将词汇加入 custom_phrase.txt,根据自己需求设置快捷短语(例如输入 mac,输出 MacBook),格式文本里有说明。

@hicaicai
Copy link
Author

好的,谢谢开发者

@hicaicai
Copy link
Author

感谢开发者, 我已经找到临时英文输入方法了,另外我想问下可否借用您的内容介绍这个输入法
patch:
"recognizer/patterns/veng": "^v.*$"
"engine/segmentors/@before last": affix_segmentor@veng
veng:
tag: veng
prefix: "v"
tips: "英语输入"

@ssnhd
Copy link
Owner

ssnhd commented Aug 23, 2021

我不是该输入法开发者,只是汇集到一起让别人方便实用,代码开源可随意使用。

@hicaicai
Copy link
Author

好的,谢谢您让我们可以一键导入方便使用

@hicaicai
Copy link
Author

hicaicai commented Sep 14, 2021

兄弟, 有没有办法把这串代码改成回车上屏啊, 现在可以临时输入英文,但每次空格就自动上屏了, 我想继续输入又重新操作,所以能否在临时英文输入状态改成回车上屏,
patch:
"recognizer/patterns/veng": "^v.*$"
"engine/segmentors/@before last": affix_segmentor@veng
veng:
tag: veng
prefix: "v"
tips: "英语输入"

@ssnhd ssnhd closed this as completed Mar 19, 2022
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