GBK汉字基本库

上传者: rowangame | 上传时间: 2023-07-11 17:34:10 | 文件大小: 1.8MB | 文件类型: RAR
GBK汉字库 1.整合6763个GB2312个汉字 2.整合GBK/3,GBK/4协议共21003个汉字 3.可能过查询记录得到汉字的五笔,拼音,和汉字结构等基本属性 4.已生成了GBKHelper.jar包,可直接使用或修改源代码实现更多功能 示例程序: long lasttick = System.currentTimeMillis(); GB2312Helper gb2312Helper = GB2312Helper.singleton(); String info1 = "测试汉字拼音和五笔"; CharacterRecord recs1[] = gb2312Helper.getRecords(info1); String rlt1 = gb2312Helper.getPingyin(recs1); long curtick = System.currentTimeMillis(); System.out.println("=======GB2312用时:=======" + (curtick - lasttick)); System.out.println(rlt1); System.out.println("size=" + GB2312Helper.singleton().getRecordSize()); long lasttick2 = System.currentTimeMillis(); GBKHelper gbkHelper = GBKHelper.singleton(); String info2 = "测试汉字拼音和五笔 龍齏"; CharacterRecord recs2[] = gbkHelper.getRecords(info2); String rlt2 = gbkHelper.getPingyin(recs2); long curtick2 = System.currentTimeMillis(); System.out.println("=======GBK用时:=======" + (curtick2 - lasttick2)); System.out.println(rlt2); System.out.println("size=" + GBKHelper.singleton().getRecordSize()); =======GB2312用时:=======281 ce4shi4han4zi4pin1yin1he2wu3bi3 size=6763 =======GBK用时:=======140 ce4shi4han4zi4pin1yin1he2wu3bi3 long2ji1 size=20923

文件下载

资源详情

[{"title":"( 34 个子文件 1.8MB ) GBK汉字基本库","children":[{"title":"GBKHelper","children":[{"title":".project <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"resource","children":[{"title":"dict_gbk.txt <span style='color:#111;'> 1.83MB </span>","children":null,"spread":false},{"title":"dict_gb2312.txt <span style='color:#111;'> 867.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"rwgframe","children":[{"title":"character","children":[{"title":"resource","children":[{"title":"DictResource.java <span style='color:#111;'> 424B </span>","children":null,"spread":false}],"spread":true},{"title":"helper","children":[{"title":"GBKHelper.java <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"CharacterRecord.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"CharacterHelper.java <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"GB2312Helper.java <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"tools","children":[{"title":"CharEncoder.java <span style='color:#111;'> 762B </span>","children":null,"spread":false},{"title":"HexUtil.java <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"manager","children":[{"title":"CharacterCell.java <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"GB2312Manager.java <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"GBKManager.java <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resource","children":[{"title":"dict_gbk.txt <span style='color:#111;'> 1.83MB </span>","children":null,"spread":false},{"title":"dict_gb2312.txt <span style='color:#111;'> 867.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"rwgframe","children":[{"title":"character","children":[{"title":"resource","children":[{"title":"DictResource.class <span style='color:#111;'> 713B </span>","children":null,"spread":false}],"spread":true},{"title":"helper","children":[{"title":"GB2312Helper.class <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"GBKHelper.class <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"CharacterHelper.class <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"CharacterRecord.class <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"tools","children":[{"title":"CharEncoder.class <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"HexUtil.class <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"manager","children":[{"title":"CharacterCell.class <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"GBKManager.class <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false},{"title":"GB2312Manager.class <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"GBKHelper.jar <span style='color:#111;'> 497.07KB </span>","children":null,"spread":false},{"title":"GBKHelperTest","children":[{"title":".project <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"test","children":[{"title":"CharacterTest.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"GBKHelper.jar <span style='color:#111;'> 497.07KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"com","children":[{"title":"test","children":[{"title":"CharacterTest.class <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明