[1]佘石泉 周肆清.正则表达式在编程题自动阅卷中的应用[J].计算机技术与发展,2007,(07):244-246.
 SHE Shi-quan,ZHOU Si-qing.Application of Regex in Auto- Checking Paper of Programs[J].,2007,(07):244-246.
点击复制

正则表达式在编程题自动阅卷中的应用()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2007年07期
页码:
244-246
栏目:
应用开发研究
出版日期:
1900-01-01

文章信息/Info

Title:
Application of Regex in Auto- Checking Paper of Programs
文章编号:
1673-629X(2007)07-0244-03
作者:
佘石泉 周肆清
中南大学
Author(s):
SHE Shi-quan ZHOU Si-qing
Central South University
关键词:
正则表达式抽象文本匹配
Keywords:
regular expressions abstract text matching
分类号:
G434
文献标志码:
A
摘要:
分析了编程题的自动阅卷的现状及存在的不足。为了让计算机能够更加合理和有效地进行编程题的阅卷,提出了一种用正则表达式来分析程序代码,模拟人工阅卷的方法。介绍了此方法的原理和主要功能,给出了方法实现的具体步骤,对方法的关键部分如Java处理正则表达式的各个类以及方法的具体实施等都进行了详细的解释并举例进行了说明。其核心思想是利用正则表达式来抽象标准答案,再利用正则表达式强大的文本匹配功能来进行程序代码的分析,把不变的文本转化为具有一般性的表达式,大幅度增加了匹配的灵活性,从而达到简化阅卷的目的
Abstract:
Analyzed the status quo and the shortages of auto- checking answer sheet of programs. In order to look over the examination papers by computer more reasonably and effectively, a method was given which used regular expressions to analyze the codes of program and simulate the artificial model. This paper also introduced the elements and chief function of the method, and the implementary process was given too;moreover,the pivotal parts of the method like the classes of Java that used to manage regular expressions and concretely actualizatiun of the method were explained amply and examples were additional. The central idea is to changeing for complicated standard solution to a series of regular expressions, and utiIize their powerful function in text matching to analyze the programming codes, thereby the aim of predigesting for lodking over answer papers is achieved

相似文献/References:

[1]况旭 刘波.XML的面向对象语言特性[J].计算机技术与发展,2010,(01):50.
 KUANG Xu,LIU Bo.XML Object-Oriented Language Characteristic[J].,2010,(07):50.
[2]宋鑫坤 陈万米 朱明 桂春胜 程硕远 陈海波.基于正则表达式的语音识别控制策略研究[J].计算机技术与发展,2010,(02):106.
 SONG Xin-kun,CHEN Wan-mi,ZHU Ming,et al.Study on Speech Recognition Control Strategy Based on Regular Expression[J].,2010,(07):106.
[3]胡琼凯 黄建华.基于协议分析和决策树的入侵检测研究[J].计算机技术与发展,2009,(06):179.
 HU Oiong-kai,HUANG Jian-hua.Intrusion Detection Based on Protocol Analysis and Decision Tree[J].,2009,(07):179.
[4]姜林美 詹玲超 黄继风.利用隐藏域实现PHP页面的事件机制[J].计算机技术与发展,2006,(10):68.
 JIANG Lin-mei,ZHAN Ling-chao,HUANG Ji-feng.PHP Event Mechanism Based on Hidden Field[J].,2006,(07):68.
[5]成卫青,于静,杨晶,等.基于页面分类的 Web 信息抽取方法研究[J].计算机技术与发展,2013,(01):54.
 CHENG Wei-qing,YU Jing,YANG Jing,et al.Web Information Extraction Research Based on Page Classification[J].,2013,(07):54.
[6]唐惠丽,郑小妹.正则表达式的研究及在Web中的应用[J].计算机技术与发展,2013,(02):82.
 TANG Hui-li,ZHENG Xiao-mei.Research of Regular Expressions and Application in Web[J].,2013,(07):82.
[7]张英辉,张水平,张凤琴,等.基于OpenStreetMap最短路径算法的分析与实现[J].计算机技术与发展,2013,(11):37.
 ZHANG Ying-hui,ZHANG Shui-ping,ZHANG Feng-qin,et al.Analysis and Implementation of Shortest Path Algorithm Based on OpenStreetMap[J].,2013,(07):37.
[8]李朋飞,陈曙晖,徐成成. 一种正则表达式编译器优化技术[J].计算机技术与发展,2015,25(09):123.
 LI Peng-fei,CHEN Shu-hui,XU Cheng-cheng. A Regular Expression Compiler Improvement Technique[J].,2015,25(07):123.
[9]李欣,李绍稳,许高建,等.基于正则抽取的竹种数据结构化方法研究[J].计算机技术与发展,2018,28(06):147.[doi:10.3969/ j. issn.1673-629X.2018.06.033]
 LI Xin,LI Shao-wen,XU Gao-jian,et al. Research on a Data Structuralization Method of Bamboo Species Based on Regular Extraction Model[J].,2018,28(07):147.[doi:10.3969/ j. issn.1673-629X.2018.06.033]

备注/Memo

备注/Memo:
佘石泉(1980-),男,湖南邵阳人,硕士研究生,研究方向为数据库技术、人工智能;周肆清,副教授,硕士生导师,研究方向为图像处理与数据库技术
更新日期/Last Update: 1900-01-01