随笔分类 -  software engineering

Descriptions of methods frequently used in software engineering.
摘要:1. 具体内容参考[1], 包含安装,配置,用法。2. 关于CRF++的模板:CRF++的模板与论文中在形式上相差较大。对于每个模板,CRF++都会产生一系列相应的特征函数(示性函数)。比如有模板U01:x[0,0],当算法匹配到“the”的时候(标注为xx),会产生一个特征U01:the。这满足特... 阅读全文
posted @ 2014-05-14 17:32 little_hsu 阅读(1392) 评论(0) 推荐(0)
摘要:下载java vm。在命令行输入 wget --no-cookie --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jdk-7... 阅读全文
posted @ 2014-05-06 20:13 little_hsu 阅读(417) 评论(0) 推荐(0)
摘要:转至http://zhangjunhd.blog.51cto.com/113473/18331转至http://www.cnblogs.com/ybase/archive/2011/11/15/2249298.html 阅读全文
posted @ 2013-06-27 13:50 little_hsu 阅读(90) 评论(0) 推荐(0)
摘要://转byte应该要指定编码方式(不然可能会出错)//PASSWORD_CRYPT_KEY需要为八位字节 package com.global.util;import java.io.UnsupportedEncodingException;import java.security.*;import... 阅读全文
posted @ 2013-06-21 14:59 little_hsu 阅读(257) 评论(0) 推荐(0)
摘要:Tetris Windows API代码记录:1. 下面是Windows API代码框架,感觉用API写东西比别的框架清爽很多。#include LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); //窗口过程函数/* 程序的入口点W... 阅读全文
posted @ 2013-06-18 22:54 little_hsu 阅读(261) 评论(0) 推荐(0)
摘要:1. 下载ubuntu 12.04 desktop。 打开wubi.exe后不是wubi安装界面,出现“演示和完全安装”。这其实是他屏蔽了windows下安装ubuntu的选项。解决办法为:将wubi.exe复制到下载的ubuntu12.04-desktop目录下,在控制台下转到wubi目录下输入 ... 阅读全文
posted @ 2013-06-17 23:32 little_hsu 阅读(108) 评论(0) 推荐(0)
摘要:假设我们要建表X,那么我将需要执行以下步骤:注意:在我们的项目中,我们将DAO文件和X.hbm.xml归入DAO包,将表的实例化放入model包,将Service Implement放入ServiceImpl包,将Service Interface放入Service包。另外,dao-backgrou... 阅读全文
posted @ 2013-06-17 12:08 little_hsu 阅读(632) 评论(0) 推荐(0)
摘要:1. 截取其中一部分的操作可以为:CvRect roi = cvRect(x1, y1, width1, height1);inputImage = cvLoadImage(filename);cvSetImageROI(inputImage, roi);IplImage* temp = cvCre... 阅读全文
posted @ 2013-06-16 20:03 little_hsu 阅读(175) 评论(0) 推荐(0)
摘要:1. 解压OpenCV2.4.2到D:\2. 新建VS项目,配置“包含目录”和“库目录”:配置“包含目录”项:添加行”%opencv%\build\include”,“%opencv%\build\include\opencv”即可。配置“库目录”项:添加行”%opencv%\build\x86\v... 阅读全文
posted @ 2013-06-16 10:53 little_hsu 阅读(177) 评论(0) 推荐(0)