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
在使用了 cnchar-trad 後,簡體 音乐 的 乐 由正確的 yuè (見 Test2) 變成了錯誤的 lè (見 Test4)
cnchar-trad
音乐
乐
yuè
lè
import cnchar from "cnchar" const testText = "音樂,音乐" console.log("Test1:", cnchar.spell(testText, "array", "tone", "low")) // Test1: [ 'yīn', '樂', ',', 'yīn', 'lè' ] import poly from "cnchar-poly" cnchar.use(poly) console.log("Test2 (used poly):", cnchar.spell(testText, "array", "tone", "low")) // Test2 (used poly): [ 'yīn', '樂', ',', 'yīn', 'yuè' ] import "cnchar-trad" console.log("Test3 (imported trad):", cnchar.spell(testText, "array", "tone", "low")) // Test3 (imported trad): [ 'yīn', '樂', ',', 'yīn', 'yuè' ] import trad from "cnchar-trad" cnchar.use(trad) console.log("Test4 (used trad):", cnchar.spell(testText, "array", "tone", "low")) // Test4 (used trad): [ 'yīn', 'yuè', ',', 'yīn', 'lè' ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在使用了
cnchar-trad
後,簡體音乐
的乐
由正確的yuè
(見 Test2) 變成了錯誤的lè
(見 Test4)The text was updated successfully, but these errors were encountered: