- 博客(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
2014-01-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人