检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]内蒙古师范大学计算机与信息工程学院,内蒙古呼和浩特010022
出 处:《内蒙古师范大学学报(自然科学汉文版)》2011年第3期320-324,共5页Journal of Inner Mongolia Normal University(Natural Science Edition)
基 金:国家自然科学基金资助项目(60940027);内蒙古师范大学研究生科研创新基金(CXJJS10052)
摘 要:针对C程序提出一种生成标记字符串的方法,即用XML文本表示C程序.首先格式化源程序,从C语言全集中挑选出部分能代表程序结构的关键结构,并用正则表达式进行识别,然后将C程序中容易发生抄袭的结构信息存储到XML文本中,最后对实验系统进行了测试.测试结果表明,该方法能快速找到程序中发生抄袭的代码,从而提高相似度比较的速度和准确性.A method of generating token string for C program was presented,that is said that using XML text represent C program.Firstly,formatting the source program;secondly,picking out the key structure that can represent the procedural structure from C language,the key structure was identified by corresponding regular expressions;thirdly,the structure information in C program,which is prone to plagiarism,is stored in XML text;finally,the experiment system is tested,and the result proved that the method quick searches the code which is plagiarized and the speed and accuracy be improved.
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.142.250.99