自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (5)
  • 收藏
  • 关注

原创 sunpinyin n-gram数据二进制和utf8格式的转换

1. 【目标】:将二进制的模型数据lm_sc.t3g转换成 utf8格式 lm_sc.t3g.arpa【操作】:./tslminfo -p -v -l  ../raw/dict.utf8 ../data/lm_sc.t3g >../raw/lm_sc.t3g.arpa【解释】:-p : 使用正常的频率值Pr, 非默认的-log(Pr)-v : 输出apra格式

2016-05-31 09:30:16 801

原创 算法区间DP- 机器人关灯

题意:在X轴上有N个灯泡,[输入] 第一行是case数,每个case,第一个是灯泡的数量N (1输入:22 5374 10191119Output844/**/#include #include #define MAX_N 1005#define INF 0x7FFFFFFFint

2016-05-24 20:17:11 794

原创 算法练习:多米诺骨牌

/*有两种多米诺骨牌,1种2X1,另一种2X2,请问N个多米若骨牌放到2×N的框子里有多少中组合1->12->33->54->11f(n)=f(n-1)+2Xf(n-2)f(0)=f(1)=1*/输入:5111000040000200004000020000399995000039999输出:062

2016-05-20 16:13:38 4382

原创 确保打在rpm包中的.so文件具有可执行权限

背景介绍:有一个工程,其目录结构是:libB   -- libA   -- src   -- packaging目录libA通过scons编译生成libA.so,目录src中的源代码通过 CMAKE编译生成libB.so, 且libB.so 依赖 libA.so. 另外有个应用程序 appC,依赖 libB.so。请问如何libB如何打包成rpm。libB.rpm

2016-05-19 18:35:46 2607

Programming with GNU software 2

This book is neither a comprehensive reference, nor a light weight novella. It is intended to be a learning guide for the gde. The reader is presumed to be familiar with software development processes in general. That is, they are expected to be familiar with edit-compile-debug cycles on some sort of platform, whether that be UNIX or Windows or even something else. We will attempt to guide you through the process of choosing, configuring and using GNU tools. We will do this by developing an example project demonstrating the actual use of each tool.

2014-01-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除