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

请教opencc如何调用? #309

Closed
zhl111 opened this issue May 29, 2023 · 18 comments
Closed

请教opencc如何调用? #309

zhl111 opened this issue May 29, 2023 · 18 comments

Comments

@zhl111
Copy link

zhl111 commented May 29, 2023

双拼可以直接调用吗?我没搞出来

@dilokomi
Copy link
Contributor

要是能打出Emoji基本上就说明调用了(大概

因为Emoji的定义在opencc目录中

@iDvel
Copy link
Owner

iDvel commented May 30, 2023

这个功能是 Emoji 的,全拼双拼五笔都通用,你是不是没开 Emoji。

@zhl111
Copy link
Author

zhl111 commented May 30, 2023

还需要单独开启吗 ?怎么开?
image
image

@iDvel
Copy link
Owner

iDvel commented May 30, 2023

你是要输入 opencc/emoji.txtopencc/others.txt 里面的映射吗?
默认就是开启的:
image

image

@zhl111
Copy link
Author

zhl111 commented May 30, 2023

我没有改设置啊,这如何解决?

image

@iDvel
Copy link
Owner

iDvel commented May 30, 2023

不知道啊,默认啥也不用改就是可以的。
要不你更新一下 librime 试试,参考 #133 ,我也不确定能不能行。

@zhl111
Copy link
Author

zhl111 commented May 30, 2023

不行,哈哈。重装rime程序?

image

1,双拼的自定义短语我建立了,是把全拼的自定义短语copy过来?
2,melt_english.dict.yaml可否用新建melt_english.dict.custom.yaml来覆盖?

image

@iDvel
Copy link
Owner

iDvel commented May 30, 2023

  1. 全拼和双拼的自定义短语有冲突,才分成不同文件的。
  2. 不能给 dict.yaml 打补丁。可以给你的小鹤打个补丁,double_pinyin_flypy.custom.yaml
patch:
  melt_eng/dictionary: xxx

创建 xxx.dict.yaml,复制 melt_eng.dict.yaml 的过来并修改。

@zhl111
Copy link
Author

zhl111 commented May 30, 2023

没搞对?操作不成功
image

@iDvel
Copy link
Owner

iDvel commented May 30, 2023

dcit → dict

@iDvel iDvel closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2023
@iDvel
Copy link
Owner

iDvel commented May 30, 2023

没搞对?操作不成功

试了一下确实不行。🤔🤔🤔

@zhl111
Copy link
Author

zhl111 commented May 30, 2023

我改出来了。还是用户名的问题。

可是Emoji问题还在:刚才把我所有的配置删除,全部重新调入你的配置,Emoji在双拼下仍然不能输出,这是双拼的配置问题,还是程序的问题?

@iDvel
Copy link
Owner

iDvel commented May 30, 2023

你用的哪个小狼毫,https://github.com/fxliang/weasel 还是 https://github.com/rime/weasel/
是就双拼不行?全拼可以吗?

@zhl111
Copy link
Author

zhl111 commented May 30, 2023

都不行,用的是后者

@iDvel
Copy link
Owner

iDvel commented May 30, 2023

可以啊,新装的小狼毫,就更新了个 rime.dll,最新的配置复制粘贴过来的,一行没改:
image
image

@zhl111
Copy link
Author

zhl111 commented May 30, 2023

郁闷了。。。重装了程序,你的设置也是重新下的,结果还是打不出Emoji来,奇了怪了

我的配置文件夹设在D盘,我发现不管我怎么卸载重启,重新安装完,它的配置文件夹还是D盘,是不是卸不干净啊

@yfdd520
Copy link

yfdd520 commented Oct 27, 2023

一样的问题,单位电脑打不出打不出Emoji,各种重装都不行。家里可以。

@ghost
Copy link

ghost commented Apr 22, 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

4 participants