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

反引号反查的字库是否可以更新以下? #5

Open
mannfuri opened this issue Jan 11, 2024 · 1 comment
Open

反引号反查的字库是否可以更新以下? #5

mannfuri opened this issue Jan 11, 2024 · 1 comment

Comments

@mannfuri
Copy link

现状是luna拼音里的汉字,都是繁体,未必能和日文汉字匹配上。
比如查询“选举”这个词的日文发音,因为汉字不一致无法匹配出来日文的发音。
我现在的处理方式是,直接把data目录下 luna_pinyin.dict.yaml 和 essay.txt 这两个文件里的所有繁体汉字都切换成了日文汉字。
但是感觉还是有更多改进空间,比如把所有日文里不存在的汉字都删掉,或者把日文里都存在的词再补充进luna_pinyin.dict.yaml 里面。

@mannfuri
Copy link
Author

好像更简单的处理方式是,把MOZC库里的纯汉字的词,都放进拼音词库里,再用转换工具给这些词附上汉语拼音读音。
这些词组成的词库,就可以专门用来做反查了。

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