摘要
针对大型应用软件中嵌入脚本语言问题,提出了一种高效的自然语言理解语法分析算法。建立了脚本语言文法的描述规范,并用VC++设计并实现了一种快捷而通用的语法分析器。实例表明,该算法实现的语法分析器快速、高效,完全可以达到工程要求。
In view of large-scale application software embedded scripting language problems, this paper proposes an efficient natural language syntax analysis algorithm. Build script language grammar specification, and uses VC++ to design and realize a fast and universal grammar analyzer. Examples show that, the parser algorithm is fast, efficient, and can fully meet the requirements of the project.
出处
《科技通报》
北大核心
2013年第12期91-93,共3页
Bulletin of Science and Technology
关键词
自然语言
词法分析
语法分析
LL(1)分析法
natural language
lexical analysis
syntax analysis
LL (1) analysis method