Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2008, Vol. 34 ›› Issue (20): 58-61. doi: 10.3969/j.issn.1000-3428.2008.20.021

• Software Technology and Database • Previous Articles     Next Articles

Code Automatic Generation Based on Limited Nature Language and Modular Synthesis

CHEN Yun, WANG Zheng   

  1. (Department of Computer, Chongqing University, Chongqing 400044)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-10-20 Published:2008-10-20

基于受限自然语言和模块组合的代码自动生成

陈 云,王 铮   

  1. (重庆大学计算机学院,重庆 400044)

Abstract: This paper aimings at a hot researched question-——the application of natural language comprehension in inter-face, designs a code automatic generation system based on limited nature language and modular synthesis. It allows users to input requires in Chinese which is free to some extent, . It converts the inputs to standard C program, then returns results to users. It raises d a syncopation-IMM, which improves the max-match in part of former syncopation——MM, reduces quantity of sentences by wrongly syncopated, and improves precision of syncopating.

Key words: natural language comprehension, IMM algorithm, modular synthesis

摘要: 针对界面层自然语言理解的应用,该文设计一个基于受限自然语言和模块组合的代码自动生成系统。该系统允许用户输入,格式比较随意的中文需求语句,,把用户的输入转换为标准的C程序,再返回给用户。提出一种IMM分词算法,改进原有MM法在局部的最大匹配,减少错误切分句子的数量,提高分词的精度。

关键词: 自然语言理解, IMM算法, 模块组合

CLC Number: