using System.Text;public class PinYin{ public string GetFirstLetter(string hz) { string ls_second_eng = "CJWGNSPGCGNESYPBTYYZDXYKYGTDJNNJQMBSGZSCYJSYY...
分类:
其他好文 时间:
2014-10-22 17:58:27
阅读次数:
263
ubuntu桌面系统下终于有了好用的拼音法-搜狗拼音输入法,欲在ubuntu 14.04下安装搜狗拼音输入法相当的简单。先到搜狗拼音官网下载对应的安装包搜狗拼音 for Linux:http://pinyin.sogou.com/linux/下载得到deb安装包,鼠标双击该安装包,则进入安装界面。代...
分类:
系统相关 时间:
2014-10-19 10:11:45
阅读次数:
309
var pinyin = (function () { var Pinyin = function (ops) { this.initialize(ops); }, options = { checkPolyphone: false, ch...
分类:
其他好文 时间:
2014-10-17 15:22:42
阅读次数:
17700
1 pinyin = array( 27 "a" => array(59371, 41648, 50400, 33157, 41392, 18661, 47599), 28 "ai" => array(19697, 32178, 35504, 36856, ...
分类:
Web程序 时间:
2014-10-15 15:58:31
阅读次数:
870
找了两个库,都是基于键值的对拼音的简单查找,不支持多音字: https://github.com/cleverdeng/pinyin.py https://github.com/anjuke/pinyin4py 也可以自己写一个简单的转换器,上面的两个项目中都有汉字和拼音的...
分类:
编程语言 时间:
2014-10-12 14:24:08
阅读次数:
152
应项目(Android 4.3)需求需要修改默认输入法,本来想的是,这个应该很简单的撒。随google之~,发现网上主要罗列出以下这种方法:
在 frameworks\base\core\res\res\values\config.xml 添加一个属性:
com.android.inputmethod.pinyin/.PinyinIME
在framewo...
分类:
移动开发 时间:
2014-09-26 20:33:58
阅读次数:
412
CREATE TABLE gym_chatuser(
id Integer NOT NULL,
uid text ,
name text ,
img text ,
account text ,
pinyin text ,
loginId text,
CONSTR...
分类:
数据库 时间:
2014-09-25 14:12:58
阅读次数:
177
1、下载dll文件,加入项目引用.链接:http://download.csdn.net/detail/wangshaner1/7953211
2、引入命名空间:
using NPinyin;
3、方法:
Pinyin.GetPinyin("中文");
其他方法自己试试便知道哒
转载请注明:康瑞的部落 » c#
汉字转拼音...
分类:
其他好文 时间:
2014-09-21 18:57:01
阅读次数:
251
删除ibus输入法sudo apt-get purge ibussudo apt-get autoremove安装fcitx和拼音输入法sudo apt-get install fcitx fcitx-pinyin然后设置fcitx为默认输入法im-config重启系统后即可生效。参照:http:/...
分类:
其他好文 时间:
2014-09-20 22:53:09
阅读次数:
211
1.按照拼音首字母的正序或倒序排序1 SELECT2 CREATOR_REALNAME3 FROM4 tableName5 ORDER BY NLSSORT(CREATOR_REALNAME, 'NLS_SORT = SCHINESE_PINYIN_M') desc拼音排序参考:nl...
分类:
数据库 时间:
2014-09-12 13:15:03
阅读次数:
201