基于语法特征树的代码知识点自动识别  被引量:1

Automatic Identification of Knowledge from Program Code based on Syntax Feature Tree

在线阅读下载全文

作  者:孙辞海[1] 朱国进[1] 

机构地区:[1]东华大学计算机科学与技术系,上海201620

出  处:《微计算机信息》2010年第33期170-172,共3页Control & Automation

摘  要:在程序设计训练推荐系统中或在代码搜索领域中都可能需要识别统计程序代码中的知识点。然而,手工识别代码知识点容易遗漏和识别错误,且不具有实时性。本文通过自动生成代码语法树并使用特征树匹配的方法,自动识别代码知识点。经实验表明,该方法能实时、快速、准确地统计代码中的知识点。Whether in the program design training recommend system or in the code searching domain may need to identify or get the statistic of knowledge in the code. However, manual identification is easy to miss and get errors, and isn't real-time. This paper will use the method that generate the syntax tree and use feature tree to match the knowledge in the syntax tree to identify code knowledge automatically. The experimental results show that the system can real-time, effectively and accurately gathers the statistic of knowledge in program code.

关 键 词:语法树 特征树匹配 自动识别 

分 类 号:TP18[自动化与计算机技术—控制理论与控制工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象