节点文献
JavaCC及其在搜索引擎技术中的应用研究
Research and Application in Search Engine Technology of JavaCC
【摘要】 搜索引擎中的HTML文档处理器和查询分析器都需要对特定格式的文本做词法分析和语法分析,以便构建出相应的数据结构。如果手工来编写这些分析程序,不仅编写代码工作量大,而且增加了测试的负担。本文研究了JavaCC的使用步骤和特点,并使用JavaCC构建了一个HTML文档处理器和一个查询分析器。实践表明,使用JavaCC能够大大缩短开发文本分析程序周期。
【Abstract】 The HTML document processor and the query parser in a search cngine need do texical analysis and syntactic analysis to some tect of special formal, to build corresponding data stncctures. If programming these anlysis progams manually, not only need take lot of time to code, but increase the burdon of test. This paper research the stys of designing an analyser with JavaCC and the charactegistic of JavaCC and program a HTML docament processor and a querg parser with JavaCC, Practice show that it will shorten the cycle of developping a tect analysis program with JavaCC.
【Key words】 JavaCC; Lexical analysis; Syntactic analysis; Auto generator of analyzer; UNICODE; Java;
- 【文献出处】 微计算机应用 ,Microcomputer Applications , 编辑部邮箱 ,2006年02期
- 【分类号】TP312.1
- 【被引频次】5
- 【下载频次】172