2010年3月12日
摘要: 代码下载http://files.cnblogs.com/finallyliuyu/KL.rar主函数代码 主函数代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicstaticvoidmain(String[]args)throwsFi... 阅读全文
posted @ 2010-03-12 10:34 finallyly 阅读(3858) 评论(1) 推荐(1) 编辑
摘要: 实验中,我们采用两种方法计算概率。一:以字符为单位计算概率;二:以汉语词为单位计算概率在第二种情况下,我们采用Jeasy分词组件进行分词处理,该分词组件为基于前向最大匹配的分词方法,分词结果在绝大多数情况下是正确的。[代码]2.读取文件模块读取文件Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.C... 阅读全文
posted @ 2010-03-12 10:21 finallyly 阅读(4431) 评论(0) 推荐(1) 编辑