UNPKG

pinyin-pro

Version:

准确率和性能最优异的汉字转拼音库。获取中文拼音、韵母、声母、声调、首字母,支持拼音匹配

10 lines (9 loc) 267 B
export interface SingleWordResult { origin: string; originPinyin: string; result: string; isZh: boolean; delete?: boolean; } export declare type ToneType = 'symbol' | 'num' | 'none'; export declare type PinyinMode = 'normal' | 'surname';