-
Notifications
You must be signed in to change notification settings - Fork 680
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
希望能添加对异体字「貍」和「悳」的支持 #452
Comments
你说的是输入繁体的时候,「狸猫」没有被转换为「貍貓」,而是「狸貓」? 简单的办法比如修改程序目录的 {
"name": "Simplified Chinese to Traditional Chinese",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "ocd2",
"file": "STPhrases.ocd2"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "text",
"file": "1.txt"
},{
"type": "ocd2",
"file": "STPhrases.ocd2"
}, {
"type": "ocd2",
"file": "STCharacters.ocd2"
}]
}
}]
} 在前面加入一个自己的 txt 文件,创建并写入(Tab 分割):
|
你可以写成这样试试:
第一个是 Tab,后续的是空格。 |
感谢答复:D
我按照您的方法在我opencc的安装目录 然后发现 总之还是非常感谢,感谢开发雾凇拼音,感谢答复,真的很好用!:D 顺带想问一下,如果我希望异体字直接在简体的输入状态下作为候选,应该怎么操作呢? 按照上面的做法来的话,繁体输入状态下面可以输入我指定好的异体字,但是简体输入状态下面就没有异体字可用了。
Update: 问题已经被我自己解决了,在 辛苦大大了。 |
|
「貍」是「狸」的异体字。
「悳」是「德」的异体字。
希望能添加对这两个字的支持。
The text was updated successfully, but these errors were encountered: