Given a set of features and properties, the parser pool should either return a parser from an internal pool or create and store a new parser instance if one does not exist.
假定有一组特性和性质,解析器池应该从内部池中返回一个解析器,如果内部池中没有解析器,那么解析器池应该创建并保存一个新的解析器实例。
Even beyond top-down and shift-reduce parser, NLTK also offers "chart parsers" that create partial hypotheses that a given sequence can be continued to fulfill a rule.
甚至,除了top - down和shift - reduce解析器以外,NLTK还提供了“chart解析器”,它可以创建部分假定,这样一个给定的序列就可以继而完成一个规则。
This file name is given to the parser for processing.
该文件名交给语法分析器进行处理。
We have also taken a brief look at how to define an analysis result class and given a bit of an overview of the parser.
同时我们还简略的学习了,怎样去定义一个分析结果类,并给出了剖析器的概述。
I chose a generic object to store information when matching an XPath because I do not want to tie the parser to a given application.
我选择通用对象来存储匹配XPath时的信息,是因为不希望将解析器局限于给定的应用程序。
Basically, we are going to set up our parser so that it will search a given file for a specified keyword and then return the value associated with the keyword.
最主要的,我们应建立我们的解释器,它将会在给定的文件中搜索指定的关键词并返回与之关联的值。
The algorithm uses Simple API for XML(SAX) parser and structural join, matches and outputs all following-sibling nodes of the given nodes.
采用SAX解析器与结构连接方法,对XML文档中所有已知节点与后兄弟节点进行精确匹配并输出。
In some cases, Yacc fails to produce a parser when given a set of specifications.
一些情况下,当给定一个规范集合时,Yacc生成词法分析器会失败。
In some cases, Yacc fails to produce a parser when given a set of specifications.
一些情况下,当给定一个规范集合时,Yacc生成词法分析器会失败。
应用推荐