We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用setSpell时,库会对数据进行校验 例如「哼」,它在百度汉语上有两个读音「hēng」和「hng」 但是「hng」会被判定为错误读音
希望能够支持这种自定义,或者有个配置项比如跳过校验,强制加入之类
期待您的回复
The text was updated successfully, but these errors were encountered:
As a workaround, you can:
cnchar.dict.spell.hng = '0:' cnchar.setSpell('哼', ['hng']) console.log(cnchar.spellToWord('hng'))
Sorry, something went wrong.
No branches or pull requests
使用setSpell时,库会对数据进行校验
例如「哼」,它在百度汉语上有两个读音「hēng」和「hng」
但是「hng」会被判定为错误读音
希望能够支持这种自定义,或者有个配置项比如跳过校验,强制加入之类
期待您的回复
The text was updated successfully, but these errors were encountered: