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

多音字 在调用工具方法isPolyWord时的返回建议 #304

Open
nww57 opened this issue Jan 25, 2025 · 0 comments
Open

多音字 在调用工具方法isPolyWord时的返回建议 #304

nww57 opened this issue Jan 25, 2025 · 0 comments

Comments

@nww57
Copy link

nww57 commented Jan 25, 2025

现在的: cnchar.isPolyWord('好') 只返回true/false
建议: 增加参数设置,同时返回拼音,如:{"poly":true,"spell":["Hǎo","Hào"]},,如:{"poly":true,"spell":["hao3","hao4"]}

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