using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions;namespace test{ /// 用C#实现汉字转化为拼音 /// 实现的原理就是先将汉字转化成为内码,然后通过内码和拼音的对照来查找。 public class SplitWord { /// <summary> ///将所有的汉字转换成为拼音(小写) ///作者: ///完成于: /// </summary> static Regex MyRegex = new Read More
posted @ 2012-02-08 16:52 Fandy Xie Views(643) Comments(0) Diggs(0) Edit