漢字拼音聲母計算類

2021-07-14 04:00:01 字數 629 閱讀 6117

using   system;   

using   system.text;   

namespace   concretemis.common.chinese   

///  

///   獲取一串漢字的拼音聲母   

///  

///   unicode格式的漢字字串

///   拼音聲母字串

///  

///   「新橋軟體」轉換為「xqrj」   

///  

public   static   string   convert(string   chinese)   

return   new   string(buffer);   

}   

///  

///   獲取乙個漢字的拼音聲母   

///  

///   unicode格式的乙個漢字

///   漢字的聲母

public   static   char   convert(char   chinese)   

);   

//   perform   the   conversion   from   _disibledevent="">

Delphi中實現漢字拼音聲母查詢

delphi中實現漢字拼音聲母查詢,unit 如下 unit unit1 inte ce uses windows,messages,sysutils,classes,graphics,controls,forms,dialogs,stdctrls type tform1 class tform l...

漢字轉拼音類

using system using system.collections.generic using system.linq using system.web using system.text using system.text.regularexpressions 定義陣列 private s...

漢字轉拼音類

漢字轉拼音類 輸入的漢字字串統一先轉換為gbk,然後進行拼音轉換,英文和標點符號原樣輸出。utf 8 gbk pinyin utf 8 注 多音字無法識別,轉換漢字為一級漢字3千多個,生僻字不行,字串中個別特殊符號的存在可能造成轉換輸出不正確 class cntopinyin 返回首字母 priva...