基于 CC-CEDICT 词典的中文转拼音工具,更准确的支持多音字的汉字转拼音解决方案。...,更准确的支持多音字的汉字转拼音解决方案。...","xi1","wang4","qu4","lv3","xing2","bi3","dao4","da2","zhong1","dian3","geng4","mei3","hao3"]
内存型: 将所有字典预先载入内存...翻译姓名
姓名的姓的读音有些与普通字不一样,比如 ‘单’ 常见的音为 dan,而作为姓的时候读 shan。...name('单某某'); // ['shan', 'mou', 'mou']$pinyin->name('单某某', PINYIN_UNICODE); // ["shàn","mǒu","mǒu"]
PHP将汉字转换拼音是程序员们经常需要操作的任务之一