1.0.18 • Published 1 year ago
pinyin37 v1.0.18
Brief
This module can convert spell format between Tong1 Yong4 Pin1 Yin1 and ㄅㄆㄇㄈ.
For example:
ai4 --> ㄞˋ
Usage:
let { GroupOf, TransTY, TransBPM } = require('./pinyin37.js')
let retAns = GroupOf('ㄩ')
console.log("GroupOf('ㄩ') = ", retAns)
retAns = TransTY('tai2')
console.log("CheckSpell('tai2') = ", retAns)
retAns = TransBPM('ㄐㄧㄝ')
console.log("ConvertBPM('ㄐㄧㄝ') = ", retAns)